2007.08.25 22:29 "[Tiff] 24-bit samples in TIFF", by Bob Friesenhahn

2007.08.28 15:02 "Re: [Tiff] 24-bit samples in TIFF", by Bob Friesenhahn

I'm a bit confused on this topic, but I think I agree with Chris. I think Bob's point is that since 24bit float isn't a native type it isn't meaningful for libtiff to do any byte swapping on the data as it is loaded to put it into local machine byte order since local machine byte order doesn't really mean anything for a pseudo-datatype like 24bit float.

But my initial opinion is that I still expect libtiff to apply byte swapping to local machine order.

Libtiff did not used to do this so it represents an API-level interface change. It may be that until Adobe made 24 bits sound interesting, GraphicsMagick was the only application which cared about it.

What does libtiff do now with 24 bit integer values? Presumably we should do the same thing with this and with the 24bit float values, right? I'm afraid I don't know what that is, though with some help

I am not sure what libtiff does. It depends on what version of libtiff is being used. And that is a problem.

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