ICCv4 profiles look oversaturated with some display profiles
Categories
(Core :: Graphics: Color Management, defect, P2)
Tracking
()
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 3 open bugs)
Details
Attachments
(9 files)
1.41 KB,
application/octet-stream
|
Details | |
1.30 KB,
application/octet-stream
|
Details | |
675.61 KB,
image/png
|
Details | |
1.53 KB,
application/octet-stream
|
Details | |
1.03 MB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
I performed a mozregression checking an unrelated ICCv4 profile issue, and inadvertently discovered that the profiles display differently between Wayland and X11.
STR:
- Login into Ubuntu 18.04 with Wayland.
- Start Firefox normally, browse to http://www.color.org/version4html.xalter and note that the ICCv4 profile parts of the image appears oversaturated.
- Start Firefox with MOZ_ENABLE_WAYLAND=1, browse to http://www.color.org/version4html.xalter and note that it appears correct.
I had observed this before, but I assumed it was due to qcms's transform being wrong rather than it being somehow dependent on the windowing system.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Bug 1555329 is necessary to reproduce on recent builds due to the regression.
Assignee | ||
Comment 2•6 years ago
|
||
Okay, it looks like we force sRGB with Wayland, since we don't support getting the color profile. We may still be misprocessing the X11 profile, or the system gave me the wrong one in the first place. Forcing sRGB without Wayland corrects the output.
Assignee | ||
Comment 3•6 years ago
|
||
Comparing in GIMP and Chrome, it appears they decode correctly with the same display profile as me. This suggests it is QCMS.
Assignee | ||
Comment 4•6 years ago
|
||
I see the behaviour on several color profiles, as attached.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Jeff reproduced this on his Mac with my laptop profile, so I think this can happen on any platform.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Comment 10•5 years ago
|
||
ICC v2 profile with Firefox color management enabled is not fine too : fine gradiant get heavy solarized rendering, crushing fine gradiant into ugly 8bit ugly files, and a serious bump in the gamma
Comment 12•4 years ago
|
||
It looks like the problem here is around build_output_lut for parametric curves. We don't seem to be inverting the lut when we should be.
Comment 13•4 years ago
|
||
This makes our parsing of parametric transfer functions
more clear because you can see exactly what output variables
the input variables map to.
Comment 14•4 years ago
|
||
This also adjusts the initialization of Param to make inversion better behaved.
Comment 15•4 years ago
|
||
Previously we didn't invert at all which was causing over saturation.
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
Comment 18•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e1168d49bc86
https://hg.mozilla.org/mozilla-central/rev/a53a1e590172
https://hg.mozilla.org/mozilla-central/rev/21efbd4c45d1
https://hg.mozilla.org/mozilla-central/rev/bffe3582b2c7
Updated•4 years ago
|
Description
•