-
July 18th, 2002, 03:41 AM
#1
Zoom out /in on a bitmap
Can anyone guide me how can i upon loading a bitmap incorporate a zoom in .out feature on the map of JPEG
wat are the steps i have to do , any ref to follow thanks
-
July 18th, 2002, 03:48 AM
#2
Can't help you on loading a JPEG directly maybe you want to checkout Intel's site, they've got a realy good JPEG library. You can find it over here: http://www.intel.com/software/produc.../ijl/index.htm
After you've loaded your bitmap and selected it into a DC you can use StretchBlt to zoom in or out on the bitmap when bltting it to your window DC. Pretty simple....
Cheers
-
July 18th, 2002, 04:35 AM
#3
i am able to resolve the jpeg with my custom load class but i have problem of zooming in /out
has been cracking my head ??? is there any ref or exampl to understand the logic
-
July 18th, 2002, 05:40 AM
#4
Have you by now checked the MSDN on the StretchBlt API function? All you answers are there...
Good luck!
-
July 18th, 2002, 05:44 AM
#5
Hi,
also have a look at GDI+ from MS. Its a new GDI library used in XP, that supports loading and displaying various file formats with zooming, stretching, rotating...
cu,
Winni
-
July 19th, 2002, 04:08 AM
#6
would appreciate u can direct me to the ref or example in detail a bit behind schedule. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|