AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.08.25 22:29 "[Tiff] 24-bit samples in TIFF", by Bob Friesenhahn
2007.08.27 17:24 "RE: [Tiff] 24-bit samples in TIFF", by Chris Cox
2007.08.28 14:37 "Re: [Tiff] 24-bit samples in TIFF", by Frank Warmerdam
2007.08.28 14:09 "Re: [Tiff] 24-bit samples in TIFF", by Toby Thain
2007.08.28 14:57 "Re: [Tiff] 24-bit samples in TIFF", by Andrey Kiselev
2007.08.28 15:02 "Re: [Tiff] 24-bit samples in TIFF", by Bob Friesenhahn
2007.10.02 16:11 "Re: [Tiff] C# wrapper available", by Reinhard Mayr aka Czerwinski
2007.10.02 14:00 "[Tiff] C# wrapper available", by Reinhard Mayr aka Czerwinski
2007.10.02 15:10 "Re: [Tiff] C# wrapper available", by Bob Friesenhahn
2007.10.02 16:35 "Re: [Tiff] C# wrapper available", by Bob Friesenhahn
2007.10.03 07:44 "Re: [Tiff] C# wrapper available", by Reinhard Mayr aka Czerwinski

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
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/