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



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, December 8, 2006 8:54:04 AM(UTC)


Groups: Registered
Posts: 15

I am loading tif image which is a fax message using rasterimageviewers. The resolution of the image is not good compare to  microsoft document imaging tool. The resolution of the image I am getting is same as in the example program. What do I need to do to get  the better image quality?




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, December 12, 2006 8:32:57 AM(UTC)


Groups: Manager, Tech Support
Posts: 367

Improving the appearance depends on the toolkit you own (Document Imaging vs. Raster Pro), and the type of image.
If the image is bitonal (1-bit black and white), which is the case for FAX images, you can improve its zoomed appearance by using the Scale to Gray display mode. However, this display mode only works with Document/Medical Imaging toolkits.

If the image pixel depth is more than 1-bit, you can improve the display by setting the paint scaling mode to Resample or Bicubic interpolation. This works with all toolkits.

If the image is 1-bit but you only have Raster Pro, you can work around the limitation by converting the displayed copy to 8-bit grayscale and using the Resample mode.
The drawback of this workaround is that it requires more memory to store the image, and time to perform the conversion from 1-bit to 8-bit.

To set the display mode, use code like this:

Dim pp as Leadtools.RasterPaintProperties = RasterImageViewer1.PaintProperties
pp.PaintDisplayMode = NeededValue
RasterImageViewer1.PaintProperties = pp

where NeededValue is one of the RasterPaintDisplayModeFlags enum values, such as ScaleToGray, Bicubic, None, or Resample.
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
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-2023, Yet Another Forum.NET
This page was generated in 0.053 seconds.