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

kromalex

4 Posts

Posted - Jun 08 2016 :  05:35:21  Show Profile  Reply
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

xequte

38690 Posts

Posted - Jun 08 2016 :  05:40:57  Show Profile  Reply
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
Go to Top of Page

kromalex

4 Posts

Posted - Jun 08 2016 :  05:55:38  Show Profile  Reply
Problem solved !
Thank Nigel.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: