My guess, from lurking on the TIFF mailing list: ImageMagick is misinterpreting the "photometric intent" of your TIFF image. Somewhere in your original TIFF is an instruction that states that zero is black (or white), and ImageMagick is ignoring it and assuming that zero is white (or black).
On 5/8/07, Josue Gomes <[EMAIL PROTECTED]> wrote:
Hi, I've a two-image TIFF file which I want to rotate 90 degrees. ImageMagick rotates it fine but also negates the image. I'm using the following command line: > convert -rotate 90 killer2-tiffg3.tif k2.tif As workaround I'm using -negate but I don't think it's the correct way to do it. Version below: Version: ImageMagick 6.3.3 04/20/07 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC Identify -verbose: Image: killer2-tiffg3.tif Format: TIFF (Tagged Image File Format) Class: DirectClass Geometry: 1728x2292+0+0 Type: Bilevel Endianess: MSB Colorspace: Gray Channel depth: Gray: 1-bit Channel statistics: Gray: Min: 0 (0) Max: 1 (1) Mean: 0.889109 (0.889109) Standard deviation: 0.313997 (0.313997) Colors: 2 Histogram: 439193: #000000 black 3521383: #FFFFFF white Rendering intent: Undefined Resolution: 204x196 Units: PixelsPerInch Filesize: 215.916kb Interlace: None Background color: white Border color: rgb(223,223,223) Matte color: grey74 Transparent color: black Page geometry: 1728x2292+0+0 Dispose: Undefined Iterations: 0 Scene: 0 of 2 Compression: Fax Orientation: TopLeft Signature: c7cf4b2f4947a144e41b6b27703c57222507864d5ff00605c73c17622bdc0ad8 Software: GPL Ghostscript 8.56 Timestamp: 2007:05:04 14:18:38 Tainted: False User time: 0.109u Elapsed time: 0:01 Pixels per second: 34.3377mb Version: ImageMagick 6.3.3 04/20/07 Q16 http://www.imagemagick.org Image: killer2-tiffg3.tif Format: TIFF (Tagged Image File Format) Class: DirectClass Geometry: 1728x2292+0+0 Type: Bilevel Endianess: MSB Colorspace: Gray Channel depth: Gray: 1-bit Channel statistics: Gray: Min: 0 (0) Max: 1 (1) Mean: 0.937133 (0.937133) Standard deviation: 0.242723 (0.242723) Colors: 2 Histogram: 248988: #000000 black 3711588: #FFFFFF white Rendering intent: Undefined Resolution: 204x196 Units: PixelsPerInch Filesize: 215.916kb Interlace: None Background color: white Border color: rgb(223,223,223) Matte color: grey74 Transparent color: black Page geometry: 1728x2292+0+0 Dispose: Undefined Iterations: 0 Scene: 1 of 2 Compression: Fax Orientation: TopLeft Signature: 0941287e969de4651fb0dd799d89252dd23ae5468196a6d8776582cb0486b1f9 Software: GPL Ghostscript 8.56 Timestamp: 2007:05:04 14:18:39 Tainted: False User time: 3.484u Elapsed time: 0:04 Pixels per second: 1.07917mb Version: ImageMagick 6.3.3 04/20/07 Q16 http://www.imagemagick.org Any idea? regards, josue _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
_______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
