JPEG
gif data

inADA

Huffman coding of the quantized DCT coefficient (continued)

The algorithm used is Huffman coding.

Huffman coding is a system where data is revalued according to its occurance in the total data set. Data values which appear most often are assigned the shortest bit values available; data values which appear least are assigned longer bit values.