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 : Monday, October 26, 2009 6:23:23 AM(UTC)

apalcer  
apalcer

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
 

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 : Monday, October 26, 2009 6:49:13 AM(UTC)

apalcer  
apalcer

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)

apalcer  
apalcer

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)

apalcer  
apalcer

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)
Maen Hasan

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
 
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.122 seconds.