Sisir Koppaka wrote: >> byte 0 byte 1 byte 2 byte 3 ... >> 00rrrrrr 00gggggg 00bbbbbb 00rrrrrr ... > > Oh...I thought the r, g, b for each pixel were arranged little > endianly....k...Thanks! The difference is that these palettes are treated as arrays of independent bytes, not multi-byte numbers for which endianness must be considered. -- -Mike Melanson