T O P I C R E V I E W |
wskelton3 |
Posted - Jul 02 2014 : 12:56:20 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 |
2 L A T E S T R E P L I E S (Newest First) |
wskelton3 |
Posted - Jul 03 2014 : 09:43:11 Thank you Bill. The Zoomfilter setting made a significant difference. The Storetype did not help.
Bill |
w2m |
Posted - Jul 02 2014 : 13:08:17 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 |