ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 estimate image size

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
starter Posted - May 22 2018 : 04:20:13
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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 23 2018 : 06:25:21
I'm afraid there is not a method for that.


Nigel
Xequte Software
www.imageen.com