Progressive decoding: JPEG vs JPEG XL vs AVIF

Channel:Jon Sneyers · Length:0:39 · Published:2020-11-18 · Views:21519

Watch on YouTube

Summary

A short side-by-side demo of a large image loading over a slow connection in JPEG, progressive mozjpeg, JPEG XL and AVIF. It shows how each codec renders partial data.

Why HN recommends it

HN uses it as visual evidence that JPEG XL decodes progressively while AVIF shows nothing until fully loaded.

AVIF only shows when it is 100% finished. — HN, 2023

Web development · Information theory & signal processing · Audio & video engineering

On Hacker News

A couple of videos comparing progressive decoding of jpeg, jxl and avif: [VIDEO] [LINK] There's more on the same channel, generation loss ones are really interesting. — 149765, 2024-03
Progressive decoding isn't expected to speed up decoding, it's expected to speed up displaying large image files, especially for downloads via slow mobile connections. Example: [VIDEO] — cubefox, 2026-07
High quality progressive decoding at reduced filesizes is a big positive for me. There is no other format that supports that. [VIDEO] — supermatt, 2023-09
Apart from limited resolution probably the biggest problem with AVIF: It doesn't support progressive decoding. Which could effectively cancel out its smaller file size for any web applications. AVIF only shows when it is 100% finished. See [VIDEO] This comparison video is admittedly a little unfair though, because AVIF would have easily 30% lower file size than JPEG XL on ordinary images with med… — cubefox, 2023-07
Some notable features of JPEG XL that don't show up in side-by-sides: 1) Progressive decoding. Like the original .jpg, .jxl can give you a low-quality image when a fraction of the file is loaded, then a decent-quality image, then the final image. This can give JPEG XL the edge in perceived load speed even when the full .avif is smaller than the full .jxl. (Old demo from a JXL contributor at [VIDE… — twotwotwo, 2021-06

Related videos