LEADTOOLS Support
General
General Questions
Re: Smooth zoom in Raster Imaginc C++ Class Lib
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, August 13, 2006 11:52:30 PM(UTC)
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?
#2
Posted
:
Tuesday, August 15, 2006 12:56:22 AM(UTC)
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,
LEADTOOLS Support
General
General Questions
Re: Smooth zoom in Raster Imaginc C++ Class Lib
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.