This is a fragment of the coda that I am using for scanning a color document at 100 DPI.
After scanning the image, if I look at Params[0].DpiY property, it continues to be 100 DPI, but the saved image, it has 300 DPI.
Why IESaveToFile does not follow the properties of the original image, or in another way, how can I adjust the image to 100 DPI before saving.
// Scanner params
ImageEnMView1.MIO.TwainParams.YResolution.CurrentValue := 100;
ImageEnMView1.MIO.TwainParams.XResolution.CurrentValue := 100;
gbStat := ImageEnMView1.MIO.Acquire
// Thumbnail of the scanned document
ImageEnMView1.CopyToIEBitmap(0, ImageEnView1.IEBitmap);
ImageEnView1.AutoFit := True;
ImageEnView1.Fit;
ImageEnMView1.ScrollBars := ssNone;
ImageEnView1.Update;
// Save to file
ImageEnMView1.SelectedImage := 0;
iIEBitmap := ImageEnMView1.GetTIEBitmap(0);
iIEBitmap.IESaveToFile('C:\TEST.JPG', 90);