JPEG XL vs. AVIF: A Comparison
tonisagrista.com
tonisagrista.com
Also subjectively the AVIF lossy compressed flag pic looks better to me because it has less noise, I don't really care about it being more "true" to anything in such use-cases.
Such metrics are easy and tempting but one should make sure that they actually correspond to something that matters.
A similar point is made by Zoltan Dienes in his 2008 book “Understanding Psychology as a Science”: https://pbs.twimg.com/media/Ff_BUhTXEAAZZrA?format=png&name=...
> I don't really care about it being more "true" to anything in such use-cases.
I guess I finally understand the reason why AOM has so many support from a "technical" side of things.
Something like an image format should either be widely used (ie. At least 5% of websites use it), or it shouldn't exist.
A format existing has a maintenance cost, a security cost, an extra barrier to people designing new browser's or web technology, etc. If fewer than 5% of sites use it, and all features can be achieved another way, then it simply isn't worth keeping support.
Sorry JPEG XL... You were a nice design, but ultimately you weren't popular enough. A bit like Server Push (web server can send your client data you'll need ahead of time saving a round trip), ScriptProcessorNode (JavaScript can mix/make audio realtime) and DANE (security with no certificate authority)... All cool tech that didn't manage to find a userbase.
This is a chicken-egg problem, not a popularity contest.
>I support the Chrome team with this one...
WebP ......
How would 5% of sites ever get to use JXL if it isn't supported in web browsers?
Here's one: https://github.com/niutech/jxl.js
Demo: https://niutech.github.io/jxl.js/
Libjxl's own WASM build: https://github.com/libjxl/libjxl/tree/main/tools/wasm_demo
It's a limitation that makes a lot of sense for a video codec — video requires hardware decoding to keep battery consumption sane, and hardware decoding requires a limit to the frame size since hw implementations need bounded SRAM buffers (and the cost in gate count is more or less proportional to the max frame size).
https://news.ycombinator.com/item?id=33399940
JXL is pretty amazing - as has been JPEG from a speed/compression perspective. Really sad to see it die like this.