Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, August 13, 2006 11:52:30 PM(UTC)
dbinkert

Groups: Registered
Posts: 1


In order to handle and display a bitmap I am currently using a LBitmapWindow. For zooming I use the LBitmapWindow's built in zoom functions. I noticed that when zoom is enabled the bitmap is not drawn smoothly on the screen as Windows XP's Picture and Fax Viewer or the function CDC::StretchBlt() in combination with CDC::SetStretchBltMode(HALFTONE) does it.

Is there a way to enable smooth zooming in a LBitmapWindow or is there another simple alternative?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, August 15, 2006 12:56:22 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


Hello Sir,

To enable your application to paint images with smooth
zooming you need to use the LBitmapSettings::SetDisplayMode function to change how images are displayed.

For more information about the flags the above function
uses, please refer to the following topics in LEADTOOLS Class Library help
file:




LBitmapSettings::SetDisplayMode
LBitmapSettings::GetDisplayMode
Flags for the LBitmapSettings::SetDisplayMode Function.




However, some of theses flags (such as Scale to Gray for B/W
images) only work with LEADTOOLS Document and Medical imaging toolkits. If you
only have Raster Imaging Pro, you can convert the image to 8-bit grayscale and use Resample flag instead.




Regards,

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

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.114 seconds.