Support for color management
GoogleCodeExporter opened this issue · comments
This is a feature request to support color management in the Pepper Plugin API.
A few browsers (e.g. Firefox) already accepts and apply ICC profiles in PNG and
JPEG images. Color management is vital to support web application use cases in
the graphics business, like pre-press and soft-proofing software with a color
managed workflow, and for wide gamut monitors.
Suggested addition: API call to get current display ICC profile (should always
be in the RGB color space) or 0 if unknown/unsupported. Something like:
/**
* Copies current display ICC profile to provided buffer if
* buffer is non-NULL. If bufferSize is too small, nothing
* is copied. The size of the buffer needed is returned, or
* 0 if display ICC profile is unknown/unsupported.
*/
size_t GetDisplayICCProfile(uint8_t* buffer, size_t bufferSize);
Original issue reported on code.google.com by bjarke.w...@gmail.com
on 28 Dec 2010 at 6:14