ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Improving screen image in ImageEnView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wskelton3

USA
11 Posts

Posted - Jul 02 2014 :  12:56:20  Show Profile  Reply
Version 4.0.1

I use the following code to move an image from a thumbnail multi-image display to a single, larger view.

if (ImageEnMView1.ImageCount>0) then begin
ImageEnMView1.CopyToIEBitmap(ImageEnMView1.SelectedImage, ImageEnView1.IEBitmap );
ImageEnView1.Zoom:=((ImageEnView1.width/ImageEnView1.IEBitmap.Width*100)-3);
ImageEnView1.Update;
end else begin
ImageEnView1.Clear;
lblSize.Caption:='Size=0kb';
end;


My parameters when scanning are...

ImageEnMView1.MIO.Params[0].TIFF_Compression := ioTIFF_G4FAX;
ImageEnMView1.MIO.Params[0].BitsPerSample := 1;
ImageEnMView1.MIO.Params[0].SamplesPerPixel := 1;

The quality of the image scanned is good if you print it but not as crisp on the screen. I understand that the printer resolution is much better than my SVGA screen; nonetheless, am I using the best parameters to display the best image on the screen? I am trying to balance size and resolution as these are scans of multiple invoices saved into a database so I don't want images that are too large.

Thanks for your help,

Bill

w2m

USA
1990 Posts

Posted - Jul 02 2014 :  13:08:17  Show Profile  Reply
I am not sure if this will improve the displayed image but you can try
ImageEnView1.ZoomFilter := rfFastLinear;... or rfLanczos3.
I noticed you set the zoom, so the quality or type of zoom filter will effect the quality of the displayed image.

I am also assuming the ImageEnView1.StoreType is ietNormal or the image you are displaying is a small resized thumbnail instead of the actual image. If the storetype is not ietNormal then change it to ietNormal and then set the ZoomFilter.


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

wskelton3

USA
11 Posts

Posted - Jul 03 2014 :  09:43:11  Show Profile  Reply
Thank you Bill. The Zoomfilter setting made a significant difference. The Storetype did not help.

Bill
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: