Changes in tif files properties after using mogrify.
Posted: 2014-10-06T21:17:50-07:00
I am trying to use mogrify to insert a text in a tif file, but after the
command some of the attributes of the file changed, specially
the number of bits.
Before giving the command I have a tif file,with 2497 x 3582 pixels,
405 dpi and 8 bit depth.
I give first the following command:
mogrify -compress none -depth 8 -bordercolor white -border 70 p-0900.tif
And after that the attributes are still the same, and now having a 70 pixel white border in the image.
But after giving this other command:
mogrify -compress none -depth 8 -pointsize 50 -draw "text 100,60 'Page[0900]' " p-0900.tif
The Bit depth is now 32, and the size of the file is the double, the text is in its
place, but for a small text the size is now 19MB instead of 9.5MB.
What am I doing wrong.?
I am running ImageMagick-6.8.9-8-Q16-x64-dll in Windows 7, 64 bits.
Thank you.
Arutsuro.
command some of the attributes of the file changed, specially
the number of bits.
Before giving the command I have a tif file,with 2497 x 3582 pixels,
405 dpi and 8 bit depth.
I give first the following command:
mogrify -compress none -depth 8 -bordercolor white -border 70 p-0900.tif
And after that the attributes are still the same, and now having a 70 pixel white border in the image.
But after giving this other command:
mogrify -compress none -depth 8 -pointsize 50 -draw "text 100,60 'Page[0900]' " p-0900.tif
The Bit depth is now 32, and the size of the file is the double, the text is in its
place, but for a small text the size is now 19MB instead of 9.5MB.
What am I doing wrong.?
I am running ImageMagick-6.8.9-8-Q16-x64-dll in Windows 7, 64 bits.
Thank you.
Arutsuro.