Choosing the Right Image Format for Web Performance
Abstract
The exponential growth of visual content on the web has made image compression a critical discipline at the intersection of signal processing and perceptual psychology. Contemporary codecs, particularly AVIF and WebP, achieve remarkable compression efficiency not by discarding data arbitrarily, but by exploiting the structural limitations of human vision. Both formats share a common pipeline: RGB-to-YCbCr colour space separation, chroma subsampling at 4:2:0 resolution, block-based discrete cosine transforms, perceptual quantization, and entropy coding.
Where they diverge is in sophistication. WebP, built on VP8, employs 10 intra-prediction modes and Huffman entropy coding. AVIF, derived from the AV1 video codec, extends this with 56 spatial prediction modes, variable superblocks up to 128×128 pixels, and Asymmetric Numeral Systems (ANS) entropy coding enabling compression ratios 15–25% superior to WebP at equivalent perceptual quality.
Crucially, quantization remains the sole truly lossy stage; all preceding transforms are mathematically reversible. This architecture establishes AVIF as the most compression-efficient format available for web deployment today.
- Published in
- Proceedings of the Raptors Conference, Vol. 1 (2026)
- Conference
- Raptors Conference 2026, 21 October 2026, online
- Accepted
- 2026-09-13
- DOI
- https://doi.org/10.68495/rc.2026.C081
- Presentation
- Slides (PDF)
- Licence
- © 2026Shailesh Kadam. Published under Creative Commons Attribution 4.0 International (CC BY 4.0).
- Publisher
- Hackathon Raptors, Community Interest Company 15557917, London, United Kingdom
- Permanent address
- https://proceedings.raptors.dev/kadam-choosing-right-image-format
Open access. Every entry in the Proceedings is free to read, with no charge to authors and no charge to readers. Slides are served from this site, so they stay available at the paper's permanent address.
Cite this paper
Shailesh Kadam (2026). Choosing the Right Image Format for Web Performance. Proceedings of the Raptors Conference, Vol. 1 (2026). Hackathon Raptors, London. https://doi.org/10.68495/rc.2026.C081
@inproceedings{raptors2026-c081,
title = {{Choosing the Right Image Format for Web Performance}},
author = {Kadam, Shailesh},
booktitle = {Proceedings of the Raptors Conference},
volume = {1},
year = {2026},
publisher = {Hackathon Raptors},
address = {London, United Kingdom},
doi = {10.68495/rc.2026.C081},
url = {https://doi.org/10.68495/rc.2026.C081},
abstract = {The exponential growth of visual content on the web has made image compression a critical discipline at the intersection of signal processing and perceptual psychology. Contemporary codecs, particularly AVIF and WebP, achieve remarkable compression efficiency not by discarding data arbitrarily, but by exploiting the structural limitations of human vision. Both formats share a common pipeline: RGB-to-YCbCr colour space separation, chroma subsampling at 4:2:0 resolution, block-based discrete cosine transforms, perceptual quantization, and entropy coding. Where they diverge is in sophistication. WebP, built on VP8, employs 10 intra-prediction modes and Huffman entropy coding. AVIF, derived from the AV1 video codec, extends this with 56 spatial prediction modes, variable superblocks up to 128×128 pixels, and Asymmetric Numeral Systems (ANS) entropy coding enabling compression ratios 15–25\% superior to WebP at equivalent perceptual quality. Crucially, quantization remains the sole truly lossy stage; all preceding transforms are mathematically reversible. This architecture establishes AVIF as the most compression-efficient format available for web deployment today.}
}
TY - CONF TI - Choosing the Right Image Format for Web Performance AU - Kadam, Shailesh T2 - Proceedings of the Raptors Conference VL - 1 PY - 2026 DA - 2026/09/13 PB - Hackathon Raptors CY - London, United Kingdom DO - 10.68495/rc.2026.C081 UR - https://doi.org/10.68495/rc.2026.C081 AB - The exponential growth of visual content on the web has made image compression a critical discipline at the intersection of signal processing and perceptual psychology. Contemporary codecs, particularly AVIF and WebP, achieve remarkable compression efficiency not by discarding data arbitrarily, but by exploiting the structural limitations of human vision. Both formats share a common pipeline: RGB-to-YCbCr colour space separation, chroma subsampling at 4:2:0 resolution, block-based discrete cosine transforms, perceptual quantization, and entropy coding. Where they diverge is in sophistication. WebP, built on VP8, employs 10 intra-prediction modes and Huffman entropy coding. AVIF, derived from the AV1 video codec, extends this with 56 spatial prediction modes, variable superblocks up to 128×128 pixels, and Asymmetric Numeral Systems (ANS) entropy coding enabling compression ratios 15–25% superior to WebP at equivalent perceptual quality. Crucially, quantization remains the sole truly lossy stage; all preceding transforms are mathematically reversible. This architecture establishes AVIF as the most compression-efficient format available for web deployment today. LA - en ER -