The uncompressed image files consist of two bytes per pixel. The data is arranged as shown in Figure 9.5.2-1.
Image compression is based on the difference between previous and next pixels.
Pixel 1 is the first pixel of the image. There are no graphics data in either of the example pixels. 9.5.2.1 Graphics Compression Graphics compression uses true run-length encoding. Thus all eight graphics bits may be encoded and compressed. Set pixel counter to 0.