
RLE (Run-Length Encoding)
Run-Length Encoding (RLE) is a simple data compression technique that reduces the size of repetitive information. It works by replacing consecutive identical items, such as pixels in an image or characters in a text, with a count and a single instance of the item. For example, “AAAA” becomes “4A,” indicating four A's in a row. RLE is most effective when data contains many repeated elements and is commonly used in image formats like simple graphics or fax transmissions, helping to save storage space and transmission time without losing data quality.