Page 1 of 1

File size doubles on rotation

Posted: 2008-05-26T11:59:01-07:00
by dreamersbrow
Hello,
I am using imagemagick 6.3.7 on Ubuntu 8.04.

I am working with uncompressed tif images of about 20MB in size.
When I issue the command:

Code: Select all

convert test.tif -rotate 180 test.rot.tif
the image is rotated 180 degrees as expected but the file size doubles to 40MB.

I am very new to ImageMagick, but this doesn't seem right to me. It doesn't happen when I rotate them and save them in The Gimp. Is it a bug?

Thanks.

Re: File size doubles on rotation

Posted: 2008-05-26T12:14:23-07:00
by magick
Add -depth 8 to your command line.

Re: File size doubles on rotation

Posted: 2008-05-26T12:16:53-07:00
by dreamersbrow
Thanks