[cairo] [RFC] Color space API (partial proposal)

Jon Cruz jon at joncruz.org
Sun Feb 28 20:35:58 PST 2010


On Feb 28, 2010, at 1:36 AM, Jonathan Morton wrote:

> Not all colour spaces can therefore be used as blending spaces.  YUV,
> xyY and possibly L*a*b* are excluded because their channels are not
> independently additive or subtractive.  XYZ, RGB and the various CMYK
> variants should work fine.  The only substantial difference between
> RGB and CMYK is that the ADD operation always makes things lighter in
> RGB, and always darker in CMYK.


It might be pertinent that SVG allows for a few colorspaces for interpolation. These currently include sRGB, linear RGB, and two forms of CIE-Lab.

http://www.w3.org/TR/SVGPrint/#interpolation



More information about the cairo mailing list