| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1994.09.19 19:04 "Bit order revisited ...", by Scott WagnerCraig Jackson (CRAIGJ@epub.ziff.com) wrote: >However, there are times when a MSB-to-LSB order is convenient for >processing, especially on big-endian machines. There are other times >when a LSB-to-MSB order is more convenient. These cases may be more >frequent on little-endian machines, but not restricted to them. Since big-endian or MSB-to-LSB bit order is most commonly used, and since this issue tends to create LOTS of confusion, I maintain that the preferred course is to read (and frown upon) LSB-to-MSB order, read (and prefer) MSB-to-LSB order, and ALWAYS write MSB-to-LSB order. When performance issues arise, choose best berformance for big-endian or MSB-to-LSB bit order, and take the hit on LSB-to-MSB order. Scott Wagner (wagner@itek.com) Senior Engineer Itek Graphix Rochester, NY USA |
|||||||