A from-scratch implementation of the JPEG compression pipeline: RGB to YCbCr conversion, chroma subsampling, 8x8 block splitting, 2D DCT, quantization, zig-zag ordering, run-length and Huffman coding, decoding, and PSNR-based quality comparison. The notebook builds the compression mechanics directly rather than treating JPEG as a black-box image format.
1 notebook: JPEG compression
Notebook Summary 01JPEG CompressionImplement the full encode/decode pipeline, compare quality levels, and inspect compression artefacts Sources: jpeg-compression · discrete-cosine-transform · JPEG standard: ITU-T T.81 / ISO/IEC 10918-1 (1992)