LEADTOOLS Support
Imaging
Imaging SDK Questions
How to display a .Tif File clearly in RasterImage?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, October 26, 2009 6:23:23 AM(UTC)
Groups: Registered
Posts: 8
I am trying to display .tif at different size modes. If I display an .tif file at fit to window, it is not as clear as Window Picture and Fax Viewer. Any suggestions?
I have messed with ......
ImageProcessing.SizeCommand
ImageProcessing.Effects.SmoothEdgesCommand
ImageProcessing.Effects.SharpenCommand
ImageProcessing.GrayscaleCommand
It doesn't seem like we can get it to a point where it will be clearly readable? It needs to be readable at different sizes. Some of the Commands takes for ever to run and that will not fly.
Any suggestions?
Thanks
#2
Posted
:
Monday, October 26, 2009 6:49:13 AM(UTC)
Groups: Registered
Posts: 8
Another Question.....
one response to this question said to load the image in LEADRasterView.PaintScaling? I have no idea where this is located.
#3
Posted
:
Monday, October 26, 2009 7:17:08 AM(UTC)
Groups: Registered
Posts: 8
Never mind...found the viewer. I don't think thats my issue.
#4
Posted
:
Monday, October 26, 2009 10:11:17 AM(UTC)
Groups: Registered
Posts: 8
Still need help....Any suggestions, On to display a tif file clearly at different size modes?
#5
Posted
:
Monday, October 26, 2009 11:01:55 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
If you are loading 1-bit TIFF images, try to set the RasterPaintProperties.PaintDisplayMode to RasterPaintDisplayModeFlags.ScaleToGray Or RasterPaintDisplayModeFlags.Bicubic before loading the image
+---------------+
Imports Leadtools
Imports Leadtools.Codecs
...
Private RasImage As RasterImage
Private _codecs As RasterCodecs
...
RasterCodecs.Startup()
_codecs = New RasterCodecs()
Dim PaintProp As RasterPaintProperties
PaintProp = RasterImageViewer1.PaintProperties
PaintProp.PaintDisplayMode = RasterPaintDisplayModeFlags.ScaleToGray Or RasterPaintDisplayModeFlags.Bicubic
RasterImageViewer1.PaintProperties = PaintProp
RasImage = _codecs.Load("c:\TempFiles\MULTIG4.TIF")
RasterImageViewer1.Image = RasImage
+---------------+
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
Imaging
Imaging SDK Questions
How to display a .Tif File clearly in RasterImage?
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.