Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for color management #2

Open
GoogleCodeExporter opened this issue Jun 21, 2015 · 0 comments
Open

Support for color management #2

GoogleCodeExporter opened this issue Jun 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant