very large since each pixel is represented with a series of bits that provide information
about its color. Run length encoding generates a code to “flag” the beginning of a line of
pixels of the same color. That color information is then recorded just once for each pixel.
In effect, RLE tells the computer to repeat a color for a given number of adjacent pixels
rather than repeating the same information for each pixel over and over. The RLE com-
pressed file will be smaller, but it will retain all the original image data—it is “lossless.”
2.7 Error Detection and Correction
Digital data consists of long strings ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.