1.1.11

Run Length Encoding

Test yourself on Run Length Encoding

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Run Length Encoding

One compression algorithm you need to learn is run length encoding (RLE).

Run length encoding

Run length encoding

  • Run length encoding (RLE) is a form of lossless compression that replaces repeating sequences of 0s and 1s with more efficient representations.
  • Each repeating string will be replaced by a code which represents the character and the amount of times it is to be repeated.
In images

In images

  • In images, adjacent pixels are likely to be similar colours but slightly different.
  • Image compression algorithms often group these pixels together, and give them an 'average' colour.
  • The RLE algorithm can then run on the new image.
  • This technique then becomes lossy.
Jump to other topics
1

Computer Systems

1.1

Data Representation

1.2

Data Transmission

1.3

Hardware

1.4

Software

1.5

The Internet & its Uses

1.6

Cyber Security

1.7

Automated & Emerging Technologies

2

Algorithms, Programming & Logic

Practice questions on Run Length Encoding

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
Answer all questions on Run Length Encoding

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium