Data Compression


Criteria

Survey Formats

Basics

Compression Methods

Data Formats


Run Length Encoding

General Principle

Control Characters

RLE for Image Data

Implementations

MS-Windows .bmp RLE8

Encoded Mode

Absolute Mode

Marker

Example "B"

MS-Windows .bmp RLE4


Glossary

Index


Download


www.BinaryEssence.com

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.


 <   ^   > 

Implementations Implementations Encoded Mode