BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Zooming on images

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Zannha
Guest





PostPosted: Wed May 26, 2004 1:59 pm    Post subject: Zooming on images Reply with quote



How is this normally done?

Is it just a matter of scaling the image?

Thanks


Back to top
Malcolm Smith
Guest





PostPosted: Thu May 27, 2004 4:30 am    Post subject: Re: Zooming on images Reply with quote



It depends on the quality you require. If you stretch you will get
pixellation - I use ImageEn from www.hicomponents.com for my special needs
and highly recommend it.

--
Malcolm Smith
MJ Freelancing
http://www.mjfreelancing.com



"Zannha" <asd> wrote

Quote:
How is this normally done?

Is it just a matter of scaling the image?

Thanks





Back to top
Damon Chandler (TeamB)
Guest





PostPosted: Thu May 27, 2004 4:11 pm    Post subject: Re: Zooming on images Reply with quote



Hi,
Most applications use the StretchBlt() function to draw the just
visible portion of the bitmap in a scaled fashion. If you're zooming
out, the "visible portion" is the whole image; if you're not zoomed in,
the "visible portion" will depend on the size of your viewing window.
Have a look at these two articles in the May '02 issue of the C++Builder
Developer's Journal...

* Display-optimal DIB section bitmaps
* Fast bitmap zooming and scrolling

They're available here...

http://www.cppbuilderdevjournal.com/articles/articleindex.php

Best of luck,
--
Damon (TeamB)


Zannha wrote:
Quote:

How is this normally done?

Is it just a matter of scaling the image?

Thanks

Back to top
Zannha
Guest





PostPosted: Thu May 27, 2004 10:32 pm    Post subject: Re: Zooming on images Reply with quote

Thanks, i'll check out ImageEn and the resources linked to!

Appreciate it!

Zan


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.