Progressive decoding: JPEG vs JPEG XL vs AVIF
Channel:Jon Sneyers · Length:0:39 · Published:2020-11-18 · Views:21519
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
- But what is the Fourier Transform? A visual introduction. · 3Blue1Brown · 19:41
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- D/A and A/D | Digital Show and Tell (Monty Montgomery @ xiph.org) · FL Studio · 23:52
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- JavaScript: The Good Parts · Google TechTalks · 1:03:47
- The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever? · Reducible · 28:23
- Pete Hunt: React: Rethinking best practices -- JSConf EU · JSConf · 29:31
- Dan Abramov - Live React: Hot Reloading with Time Travel at react-europe 2015 · ReactEurope · 30:40
- Hey Underscore, You're Doing It Wrong! · InfoQ · 36:30
- The world's worst video card? · Ben Eater · 32:47
- Chris McCord - Keynote: Phoenix LiveView - Interactive Apps without Javascript - ElixirConf EU 2019 · Code Sync · 1:12:41
- OAuth 2.0 and OpenID Connect (in plain English) · OktaDev · 1:02:17
- (1/4) Intro/History: Introducing a 100-year-old mechanical computer · engineerguy · 3:38
- Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ... · JSConf · 35:12