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;
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.
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.