gecko-dev/image/decoders
Andrew Osmond da72652618 Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel
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
2020-04-10 16:26:33 +00:00
..
icon Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
EXIF.cpp
EXIF.h
GIF2.h
iccjpeg.c
iccjpeg.h
moz.build
nsBMPDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsBMPDecoder.h Bug 1615394 - Add color management support to the BMP decoder. r=tnikkel 2020-03-03 14:16:00 +00:00
nsGIFDecoder2.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsGIFDecoder2.h
nsICODecoder.cpp Bug 1622661 - Removed 'else' after 'return'. r=tnikkel 2020-03-31 19:27:35 +00:00
nsICODecoder.h Bug 1255105 - Use SurfacePipe in the BMP decoder. r=tnikkel 2020-03-02 23:24:12 +00:00
nsIconDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsIconDecoder.h
nsJPEGDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsJPEGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsPNGDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsPNGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsWebPDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsWebPDecoder.h