The document discusses various methods for data compression, including lossless and lossy techniques. Lossless methods like run-length encoding and Huffman coding remove redundant data during compression and add it back during decompression so the original data is preserved exactly. Huffman coding assigns shorter codes to more frequent symbols and longer codes to less frequent symbols. Run-length encoding replaces repeated symbols with a single instance of the symbol and count. Lossy methods like JPEG and MP3 are used for media as small errors are imperceptible to humans, allowing greater compression.
Related topics: