AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.09.16 04:17 "TIFF Bit Ordering Versus Fill Order", by John M Davison
1994.09.16 17:42 "Re: TIFF Bit Ordering Versus Fill Order", by Sam Leffler
1994.09.19 06:55 "Re: TIFF Bit Ordering Versus Fill Order", by Karsten Spang
1994.09.19 15:26 "Re: TIFF Bit Ordering Versus Fill Order", by Sam Leffler
[...]

1994.09.19 06:55 "Re: TIFF Bit Ordering Versus Fill Order", by Karsten Spang

If the bit order is different than the host bit order then each byte of raw image data is bit-reversed before being interpreted by a decoder.

What is "the host bit order"? Graphics devices have a bit order, e.g. the MSB may be shown to the left or to the right of the LSB on your screen. But computers as such?

It may make sense to set the bit order the same as the byte order, because then you may fill the data in as bytes, and later access them as 16, 32, or even 64 bits at a time.

But I would prefer that data are always delivered to the application in a standard way, preferably MSB to LSB within each byte, as this is the default in the spec.

Karsten

--------------------------------------------------------------------------------
E-mail: krs@kampsax.dk                                      Karsten Spang
Phone:  +45 36 77 22 23                                     Kampsax Data
Fax:    +45 36 77 03 01                                     P.O. Box 1142
                                                            DK-2650 Hvidovre
                                                            Denmark