Filesize decreases abnormally

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

Post Reply
mkolici
Posts: 10
Joined: Mon Nov 05, 2012 9:28 am

Filesize decreases abnormally

Post by mkolici »

Hi,
I have noticed a strange behavior of XNConvert:

I perform the following actions:

Rotate +180 degree
Rotate -180 degree.

It is supposed that the result image be the same as original. But I see that the size of the result photo is decreased. In my example from 1,537,133 bytes into 339,688 .
Please advise if this is a bug or it was intended so. I observe carefully the photo and I do not see any decrease in the quality. I have attached both files if you need to analyze further.

Thank you
Attachments
2013-12-03 14.37.21_result.jpg
2013-12-03 14.37.21.jpg
cday
XnThusiast
Posts: 3985
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Filesize decreases abnormally

Post by cday »

mkolici wrote:I have noticed a strange behavior of XNConvert:

I perform the following actions:

Rotate +180 degree
Rotate -180 degree.

It is supposed that the result image be the same as original. But I see that the size of the result photo is decreased. In my example from 1,537,133 bytes into 339,688 ... I do not see any decrease in the quality.
The explanation is that the JPG compression level in the original image of 98% has been changed to 80% in the saved image, and as you say there is no obvious change of quality...

You can set the file format and compression level on the XnConvert 'Output' tab:
XnConvert_Output_tab.png
Note: Your post will be moved to the XnConvert section of the forum. :wink:
mkolici
Posts: 10
Joined: Mon Nov 05, 2012 9:28 am

Re: Filesize decreases abnormally

Post by mkolici »

Hi,
I did not know this trick. I configured the output format "same as source", but indeed it does not output the quality level the same as source, but as it is configured in default settings of JPEG. Now I understand it.

Thank you
Mikel
User avatar
XnTriq
Moderator & Librarian
Posts: 6339
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Filesize decreases abnormally

Post by XnTriq »

The “classic” (non-multi-platform) edition of XnView allows you to rotate JPEG images in batch mode without re-encoding them:
  • Tools » Batch Processing... » Transformations » Image » JPEG lossless rotation
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=34186#p34186]Lossless JPEG transformations[/url]) wrote:
Post Reply