2005.10.27 06:40 "[Tiff] How located pixels with BitsPerSample not bound to byte?", by Шебеко Евгений

2005.10.28 04:08 "Re: [Tiff] How located pixels with BitsPerSample not bound to byte?", by Bob Friesenhahn

On Thu, 27 Oct 2005, Frank Warmerdam wrote:

The second problem involves this same section of code (1-32 bit sample

I'll stay out of this issue, though I suspect that 24bit data should not be byte swapped.

The latest libtiff does byte-swap 24-bit data because Chris Cox at Adobe claims that this is what the TIFF specification implies and because it is necessary to read/write the new 24-bit floating format from Adobe Photoshop CS2. I must admit to being dubious about this claim, and I believe that Joris is as well. But if Adobe Photoshop CS2 does it, by-golly it must be right!

The 24-bit sample file is not byte-swapped because libtiff was not swapping at the time.

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