Difference between revisions of "Run Length Encoding"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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.
+
Run Length Encoding is a very simple form of file [[Data Compression|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:
 
CPC programs to use RLE techniques included:
Line 11: Line 11:
  
 
Later compression programs (such as [[Cheese]] and [[Columbia]]) used the more advanced [[LZW]] algorithm.
 
Later compression programs (such as [[Cheese]] and [[Columbia]]) used the more advanced [[LZW]] algorithm.
 +
 +
[[Category:DATA Storage]]

Latest revision as of 17:47, 8 October 2009

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.