2005.05.25 09:52 "[Tiff] How to Write a tif file with compression = COMPRESSION_JPEG & photometric = PHOTOMETRIC_YCBCR ?", by Kelvin Zhong

2005.05.26 19:34 "Re: [Tiff] How to Write a tif file with compression =COMPRESSION_JPEG& photometric = PHOTOMETRIC_YCBCR ?", by Bob Friesenhahn

The really annoying "new rule" that seems to have popped up recently is that 24 bits-per-sample images are supposed to be swapped for endianness. To me that is still a resounding "huh"? I have yet to encounter a CPU with a 24-bit processor word.

It doesn't require a certain word size.

Windows prefers everything as BGR, while other OSes prefer RGB. Anything that is a multiple of 8 bits is subject to byte order rules (I have yet to see a 96 bit word CPU, either - but extended precision floating point is also subject to byte order).

What does Microsoft Windows have to do with the TIFF specification? Could it be that other OSs do not really "prefer" RGB but use the arbitrary ordering "RGB" because that is the convention that CIE standards use?

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