Compression
Different compression techniques
Lossless compression
Lossy compression
Message
Source alphabet
Source coding
- simplest source codes are fixed-length codes in which all code words contain same number of bits
ASCII coding
Binary coded decimal
Source extensions
- this lowers them number of bits per decimal needed
Variable-length codes
Uniquely decodable
Instantaneously decodable
code trees
- rather like family tree
Compressing files with Huffman code
Run length encoding (RLE)
Strength of RLE
Limitations of RLE