Gamma of avif images appears incorrect
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | affected |
People
(Reporter: mt, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
20.83 KB,
image/avif
|
Details |
Reading through Jake Archibald's article comparing image formats against AVIF, one of the images sticks out by rendering very differently in Firefox (Nightly, 89.0a1 2021-03-29). At least on my screen, this is looks like a gamma correction problem in that the AVIF version is very much lighter than the reference SVG or any of the other formats offered.
Chrome and Edge render the image differently, as does the polyfill that the page uses when the avif pref is disabled.
Comment 1•4 years ago
|
||
Also seems to be a big difference in the first image under "Why not loss?" heading.
Reporter | ||
Comment 2•4 years ago
|
||
Quite right. It's quite easy to see in the background of each tile in https://jakearchibald.com/2020/avif-has-landed/demos/compare/?show=team&img=/c/team-good-fe689431.webp
Comment 3•4 years ago
|
||
Jon, would you examine this please?
Comment 4•4 years ago
|
||
I believe the issue here is that Firefox doesn't yet properly support full-range color. This is a reencoding of the PNG source image but with limited range, and the rendering looks identical to me in Firefox and Chrome.
Here's how I generated the file:
$ avifenc --range limited --cicp 2/2/1 team-good-df0b10e6.png team-limited-2.2.1.avif
Updated•4 years ago
|
Description
•