hi Nigel,
I wonder is there a easy way to estimate image size, as the image format,qulity and dimensions are known?
In my application, I get many images from camera to an IEMView, the images are BW and fixed size, then save IEMView to PDF. To limit pdf filesize, how can I estimate the Pdf size or images' size?
procedure TCustomExporter.PrepareImages(imgs: TImageEnMView); var i: Integer; begin for i := 0 to imgs.ImageCount - 1 do imgs.MIO.Params[i].PDF_Compression := ioPDF_JPEG; // todo image size#65292; Oritation end;
my version is 7.5.
starter. |