2007.08.20 01:34 "[Tiff] can libtiff deal with this file? [re-sent]", by Abraham D. Smith

2007.08.20 02:26 "Re: [Tiff] can libtiff deal with this file? [re-sent]", by Bob Friesenhahn

On Sun, 19 Aug 2007, Abraham D. Smith wrote:

http://tock.no-ip.org/~abe/test.tif

Here is a side-by-side comparison of how ImageMagick (using libtiff 3.8.2) displays the image, and how ImageJ correctly displays it:

http://tock.no-ip.org/~abe/screen.png

ImageMagick is displaying the image correctly.

Planar Configuration: single image plane

  ImageDescription: ImageJ=1.37v
min=457.0
max=16383.0

Apparently ImageJ uses this bit of hint that it has stored in the image description tag to "know" how to scale the image data. This is a very proprietary non-TIFF way to do things.

Try using 'normalize' in ImageMagick and you will see pretty much the same image. The minimum and maximum sample values are indeed 457 and 16383.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/