File size doubles on rotation

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
dreamersbrow

File size doubles on rotation

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: File size doubles on rotation

Post by magick »

Add -depth 8 to your command line.
dreamersbrow

Re: File size doubles on rotation

Post by dreamersbrow »

Thanks
Post Reply