by the way, why not convert everything to png for comparisons to avoid browser support issues?
Re:JPEG XL vs. AVIF for web use-cases
by jaffathecake on Friday October 16, 2026 @02:52PM
(#50122725)
All browsers support AVIF and JPEG XL now. I was hoping to keep their download size benefits.
Re:JPEG XL vs. AVIF for web use-cases
by D2OQZG8l5BI1S06 on Friday October 16, 2026 @03:26PM
(#50123254)
Firefox added support only 3 days ago! And this doesn't cover the ESR version.
Re:JPEG XL vs. AVIF for web use-cases
by jaffathecake on Friday October 16, 2026 @05:04PM
(#50124688)
Sure but this is a technical post aimed at a technical audience.
Re:JPEG XL vs. AVIF for web use-cases
by bigstrat2003 on Friday October 16, 2026 @07:26PM
(#50126136)
None of which means you should expect your audience to have a new version which came out three days ago. Lots of technical people stay behind the bleeding edge for very good reason.
Re:JPEG XL vs. AVIF for web use-cases
by jaffathecake on Friday October 16, 2026 @10:15PM
(#50127236)
This is why I added the wasm fallback. The question was why I didn't serve PNGs to everyone.
What's the liktlyhood of ~~a technical~~ any audience being 4 days behind on updates? (hint: very high)
Re:JPEG XL vs. AVIF for web use-cases
by qingcharles on Saturday October 17, 2026 @01:36AM
(#50128267)
Not me keeping Chrome open for two months with "New Chrome available" badge in the corner.
Re:JPEG XL vs. AVIF for web use-cases
by queenkjuul on Saturday October 17, 2026 @10:54PM
(#50137454)
My 58 Firefox tabs that get updated once every 30-60 days when i reboot my desktop lolol
Re:JPEG XL vs. AVIF for web use-cases
by CodesInChaos on Friday October 16, 2026 @04:54PM
(#50124537)
In Firefox 157.0.1, the right border of the image moves by a pixel or two when I press "hold for lossless" while viewing the AVIF. I think it's the lossy AVIF that's a bit too small.
Re:JPEG XL vs. AVIF for web use-cases
by jaffathecake on Friday October 16, 2026 @05:22PM
(#50124953)
That's what I'm talking about. JXL support landed in 158.
Re:JPEG XL vs. AVIF for web use-cases
by CodesInChaos on Friday October 16, 2026 @05:34PM
(#50125067)
But why does missing JXL support make the AVIF too small? It ends one pixel before the gray background.
You're looking at it in a browser that doesn't support JPEG XL, so it's falling back to a WASM renderer, and I think it handles resizing differently.
This is totally my bad. I thought I was doing a good thing by adding that fallback renderer, but it isn't identical and it's giving people the wrong impression.
The lossless version is JPEG XL, hence the difference to AVIF.