AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.08.25 22:29 "24-bit samples in TIFF", by Bob Friesenhahn
2007.08.27 17:24 "Re: 24-bit samples in TIFF", by Chris Cox
2007.08.28 14:09 "Re: 24-bit samples in TIFF", by Toby Thain
2007.08.28 14:37 "Re: 24-bit samples in TIFF", by Frank Warmerdam
2007.08.28 14:57 "Re: 24-bit samples in TIFF", by Andrey Kiselev
2007.08.28 15:02 "Re: 24-bit samples in TIFF", by Bob Friesenhahn

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

On Tue, 28 Aug 2007, Frank Warmerdam wrote:
>
> 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/