5 ms·
Note that AVIF has no color management support at all in Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1634741 https://bugzilla.mozilla.org/show_bug.cgi
by bscphil 6y ago
Note that AVIF has no color management support at all in Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1634741 https://bugzilla.mozilla.org/show_bug.cgi?id=1634741
In my case, because I have full color management enabled, the AVIF image in the article displays incorrectly (too much saturation on my wide-gamut screen) while the JPG and WebP display correctly.
- jand 6y agonote for the next person, i had to search: Firefox AVIF experimental support is disabled by default but can be activated via "image.avif.enabled" flag.
- chrismorgan 6y agoAnd this is the exact reason that it hasn’t been stabilised yet. It was going to be released in 86 (February), and was even enabled in the 86 beta, but people pointed out that this should be considered a blocker as it would scupper the format for years by undermining all confidence in it, so it was disabled again.
- bscphil 6y agoThanks for pointing that out. I posted my top level comment in order to alert anyone using AVIF in Firefox about why the images are likely to look wrong, as well as warn off anyone thinking of including AVIF in an HTML5 <picture> element until the situation has improved. It's worth pointing out that (as far as I know) the fact that canvas elements and videos aren't color managed in Firefox hasn't been considered a blocker for shipping either of them. There hasn't been any movement on the bug I linked in many months (other than users confusing the issue in comments), and so I hope the problem isn't eventually swept under the rug.
- jiggawatts 6y agoThe last time this came up I noticed and commented on the same thing. It's a bad sign that it's still unresolved...
- bscphil 6y agoIt gets worse, apparently the code just assumes that the data is encoded limited range YUV, so it does the expansion to full range even on files that are already full range (the default output for some encoders). https://bugzilla.mozilla.org/show_bug.cgi?id=1654461 https://bugzilla.mozilla.org/show_bug.cgi?id=1654461 I believe this may affect the images in the article, actually. It looks to me like the dark areas of the animal's hair are crushed pretty badly - not just the saturation issue I'm talking about.
- jaffathecake 6y agoIt will if the images were created with Squoosh, which uses full-range.