Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Run Length Encoding

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 23:56, 4 January 2007 by ChaRleyTroniC (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Run Length Encoding is a very simple form of file compression. It compresses long sequences of the same byte to an indicator code, byte value, and count. For example, 48 spaces (character code &20) might be encoded as &E9 &30 &20, assuming the indicator code was &E9.

CPC programs to use RLE techniques included:

Later compression programs (such as Cheese and Columbia) used the more advanced LZW algorithm.