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
 estimate image size
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

starter

4 Posts

Posted - May 22 2018 :  04:20:13  Show Profile  Reply
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.

xequte

39142 Posts

Posted - May 23 2018 :  06:25:21  Show Profile  Reply
I'm afraid there is not a method for that.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: