зеркало из https://github.com/mozilla/gecko-dev.git
da72652618
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. Differential Revision: https://phabricator.services.mozilla.com/D65734 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
icon | ||
EXIF.cpp | ||
EXIF.h | ||
GIF2.h | ||
iccjpeg.c | ||
iccjpeg.h | ||
moz.build | ||
nsBMPDecoder.cpp | ||
nsBMPDecoder.h | ||
nsGIFDecoder2.cpp | ||
nsGIFDecoder2.h | ||
nsICODecoder.cpp | ||
nsICODecoder.h | ||
nsIconDecoder.cpp | ||
nsIconDecoder.h | ||
nsJPEGDecoder.cpp | ||
nsJPEGDecoder.h | ||
nsPNGDecoder.cpp | ||
nsPNGDecoder.h | ||
nsWebPDecoder.cpp | ||
nsWebPDecoder.h |