Rotate color TIFF image while maintaining the file size

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
c00r
Posts: 1
Joined: Sat Mar 13, 2010 4:11 pm

Rotate color TIFF image while maintaining the file size

Post by c00r »

Hi.

I just downloaded XnView to rotate TIFF images by 180 degrees. After doing so, i noticed that the output file size is now so much larger from 713KB to 38,213KB. Here is the output of NConvert v5.60:

A TIFF (jpeg) (RGB) - JPEG was recognized : 2.tif
Width:2680 Height:4862 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 8040
xdpi : 300 ydpi : 300
Rotating : OK
Conversion of 2.tif into 2-a.tif OK

I used the following command:
nconvert -v -out tiff -o 2-a.tif -rotate -180 "2.tif"

Is there a way to maintain the relative file size after rotating by 180 degrees?

Thank you so much.
User avatar
xnview
Author of XnView
Posts: 46616
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Rotate color TIFF image while maintaining the file size

Post by xnview »

You have -c to change compression...
Pierre.
Post Reply