Coloured parts: what the current step is about; everything else rests in whiteBlocks: the photo block, DCT, quantizer, coder, file bytes, decoder, decoded block and a Python cardPanels: the 8×8 block at each stage, and the coefficients in zigzag order as stemsThe token hops from stage to stage; grey squares are the block's real pixel valuesOne 8×8 block: level shift, 2-D DCT, quantization with T.81 Table K.1, zigzag and Huffman coding into 93 bits, then decoding with a mean error of 4.875. Colour JPEGs first convert RGB to brightness plus two colour channels (often stored at lower resolution) and code each the same way. The DC value is coded as the difference from the previous block; this block is the first, so the difference is the value itself.