Methods, apparatus and computer readable medium are described that
compress and/or decompress a digital image in a lossless or a lossy
manner. In some embodiments, a display controller may compress a digital
image by generating a symbol for each pel of the digital image. In
particular, the symbol may represent a pel via a match vector and a
channel error vector. The match vector may indicate which quantized
channels of the pel matched quantized channels of a previous pel.
Further, the channel error vector may comprise a lossless or lossy
channel for each quantized channel of the pel that did not match a
corresponding quantized channel of the previous pel. The channel error
may also comprise a lossless or lossy channel error for each quantized
channel of the pel that matched a corresponding quantized channel of the
previous pel.