HackerTubewatch
Surprise me
Frame from Progressive decoding: JPEG vs JPEG XL vs AVIF Plays via YouTube's privacy-enhanced embed

Progressive decoding: JPEG vs JPEG XL vs AVIF

Jon Sneyers
Demos
YouTube
1 HN user recommended this demo1 month2021–2026 score 1
Years with an HN recommendation, 2007–2026

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

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.

“AVIF only shows when it is 100% finished.” (HN, 2023)

1 recommendations · 4 citations · Demos · intermediate · partly dated

5 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@149765 Mar 2024 Recommends
on HN thread JPEG XL and the Pareto Front
A couple of videos comparing progressive decoding of jpeg, jxl and avif: [this video] [link] There's more on the same channel, generation loss ones are really interesting.
Compares progressive decoding of jpeg, jxl and avif

Citations, criticism and jokes

@twotwotwo Jun 2021 Cites it
on HN thread JPEG XL
Read more
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 [this video] ) 2) Fast conversion: JPEG XL encoding/decoding is fast without dedicated hardware. Facebook found encode/decode speed and progressive decoding to be points in favor of JPEG XL for their use: [link] 3) .jpg repacking: JPEG XL can pack a JPEG1 about 20% smaller without any additional loss; the original .jpg file can be recovered bit-for-bit. 4) Lossless mode. JXL's lossless mode is the successor to FLIF/FUIF, is really good, and also has progressive decoding. AVIF has a lossless mode too, but JPEG XL seems ahead here. (I know the parent comment is from a JXL contributor, I'm saying this for other folks.) I think those will give JPEG XL a niche on the Web. Meanwhile I suspect e.g. Android phone cameras will save .avif someday, like iPhones save .heic now. Phones want the encode hardware anyway for video, and you can crunch a zillion megapixels down to a smaller file with AVIF before attention-grabbing artifacts crop up--at low bitrates AVIF seems good at preserving sharp lines and mostly blurring low-contrast details (compare Tiny images). Finally, worth noting the codecs are differe
Demo of progressive decoding in image formats
@cubefox Jul 2023 Cites it
on HN thread JPEG XL: How It Started, How It’s Going
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 [this 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 medium quality.
Shows AVIF lacks progressive decoding
@supermatt Sep 2023 Cites it
on HN thread First automatic JPEG-XL cloud service
High quality progressive decoding at reduced filesizes is a big positive for me. There is no other format that supports that. [this video]
Shows progressive decoding at reduced file sizes
@cubefox Jul 2026 Cites it
on HN thread Regressive JPEGs
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: [this video]
Example of progressive image display on slow connections

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close