HOW THE DIGITAL WORLD REALLY WORKS | 16

Making Big Things Small

Compression laboratory • Work entirely on your device. Use fictional text only.

01 | Run-length encoding

Pair counts are not physical file sizes.

02 | Huffman coding

The payload excludes the tree, headers and padding. Displayed bit strings are not packed bytes.

03 | Quantization

Original gradient

Reduced gradient

This is a toy per-pixel quantizer, not JPEG.

Return to the companion index