Skip to content

Support for color management #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions