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
 Jpeg 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
kromalex Posted - Jun 08 2016 : 05:35:21
Hi,

I'm using ie 6.2.1 for reducing images.
ie.IO.LoadFromFileAuto('C:\myImage.jpg');
  ie.Proc.Resample(150,150,rfBicubic,True);
  ie.IO.Params.JPEG_Quality := 50;
  ie.IO.SaveToFile('C:\myReducedImage.jpg');

I was surprised of the size of some reduced images so i looked in preview of TSaveImageEnDialog.

For an example
Original image size: 483 320
Resampled image size (preview): 50 400
Compressed image size (preview): 2 065
Reduced image size: 94 520

Why did i have 94 520 instead of 2 065 ?
Is there an option to get the size estimated in preview ?

Note: With the same treatment with ImageJ, i had 3 313. I dont see real differences between the 2 resulting images.

Regards
2   L A T E S T    R E P L I E S    (Newest First)
kromalex Posted - Jun 08 2016 : 05:55:38
Problem solved !
Thank Nigel.
xequte Posted - Jun 08 2016 : 05:40:57
Hi

When reducing image sizes, you should also consider clearing all the meta-data:

http://www.imageen.com/help/TIOParams.ResetInfo.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com