TIFF explodes in size
Posted: 2011-05-27T08:35:06-07:00
I am using ImageMagick 6.4.0 06/07/08 Q16 on an OpenSuse Linux system. I split a multi-page TIFF file using:
convert multipagetiff.tif -define quantum:polarity=min-is-white test2a_%d.tif
The single-page TIFFs are fine at this point. (I use the quantum:polarity to ensure the image shows up properly in the Windows picture viewer).
I then issue the following command to put a date watermark on the image:
convert test2a_0.tif -pointsize 60 -fill black -gravity northwest -annotate 270x270+40+480 "MM\DD\YYYY" test2b_0.tif
The input image was 22K and it explodes to 810K! I notice that the channel depth switches from 1-bit to 16/8-bit and it now has an alpha channel. I have tried the -alpha deactivate and tried various compression options, which either does not reduce the size, or creates an unreadable image. Any assistance would be greatly appreciated!
convert multipagetiff.tif -define quantum:polarity=min-is-white test2a_%d.tif
The single-page TIFFs are fine at this point. (I use the quantum:polarity to ensure the image shows up properly in the Windows picture viewer).
I then issue the following command to put a date watermark on the image:
convert test2a_0.tif -pointsize 60 -fill black -gravity northwest -annotate 270x270+40+480 "MM\DD\YYYY" test2b_0.tif
The input image was 22K and it explodes to 810K! I notice that the channel depth switches from 1-bit to 16/8-bit and it now has an alpha channel. I have tried the -alpha deactivate and tried various compression options, which either does not reduce the size, or creates an unreadable image. Any assistance would be greatly appreciated!