Codec algorithms
How JPEG Compression Uses the Discrete Cosine Transform
Follow a JPEG image from pixel blocks through the DCT, quantization, and entropy coding.
Read part 13-part series · Codec algorithms
Explore how common image codecs turn pixels into smaller files. This series explains the ideas behind JPEG, WebP, and AVIF with plain-language explanations, flow diagrams, and links to specifications.
Codec algorithms
Follow a JPEG image from pixel blocks through the DCT, quantization, and entropy coding.
Read part 1Codec algorithms
See how WebP?s lossy and lossless modes use different ways to encode image data.
Read part 2Codec algorithms
A plain-language look at AV1 image coding, quantization, and how AVIF stores the result.
Read part 3