Skip to content

Run-length encoding (compression)

Handout

Squeezing repeated data

  • Compression makes data smaller. Run-length encoding (RLE) is one simple way.
  • It works well when the same value repeats many times in a row.
  • It is lossless: from the squeezed form you can rebuild the exact original.

Handout

Log in or create account

IGCSE & A-Level