Add flags to allow image decoders to produce sRGB output
Categories
(Core :: Graphics: ImageLib, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently we can only use the gfx.color_management.force_srgb to force all images to sRGB, or accept device space. Adding a surface flag which allows us to selectively output sRGB is useful for clipboard purposes, as well as testing.
Assignee | ||
Comment 1•4 years ago
|
||
Currently we can only use the gfx.color_management.force_srgb pref to
force all images to sRGB, or just accept device space. It would be nice
to be able to test device space in our tests, as well as sRGB. This
patch adds a surface flag which allows us to selectively output sRGB.
This will also be useful for clipboard and re-encoding purposes, since
they want a neutral output. In an ideal world we would just output the
color profile and the pixel data in the original color space, but for
now this is a relatively simple approach that works on all platforms and
interops well with all applications.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6e5816403d9 Add flags to allow image decoders to produce sRGB output. r=tnikkel
Comment 3•4 years ago
|
||
Backed out changeset e6e5816403d9 (bug 1620600) for causing Gtest failures.
Backout revision https://hg.mozilla.org/integration/autoland/rev/c01bce3a4e0f7bd2c821a803da5c615e4b09c511
Failure logs https://treeherder.mozilla.org/logviewer.html#?job_id=292775199&repo=autoland
Andrew can you please take a look?
Comment 4•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:aosmond, could you have a look please?
For more information, please visit auto_nag documentation.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aae7f0d27d71 Add flags to allow image decoders to produce sRGB output. r=tnikkel
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Description
•