
MS-Windows .bmp RLE8
The RLE8 compression procedure is exclusively intended for bitmaps using colour tables with 8 bit resolution or 256 colours respectively. The following coding scheme is applied:
RLE8 coding scheme:

Microsoft distinguishes between the "encoded mode" containing run length encoded sequences and the "absoulute mode" containing original data. Additionally three special purpose markers are provided.
< ^ >
|