[cairo] Adding a color management interface to GTK

Jon Cruz jon at joncruz.org
Thu Jan 21 03:54:30 PST 2010

On Jan 22, 2010, at 12:46 AM, Richard Hughes wrote:

> 2010/1/21 Jon Cruz <jon at joncruz.org>:
>> So, does the W3C position of defaulting to sRGB come into play?
> Quite often. If the image doesn't have an embedded profile, then we
> treat it as sRGB. If there is no output profile, then we treat it as
> sRGB also. If we're doing sRGB -> sRGB then it's a NOP.
> If you do gtk_color_transform_pixbuf_in_place (profile, NULL) then the
> NULL implies sRGB, as it's such a common space.

Uh oh... that sounds like doing color adjustment in several disjoint passes. That would be bad. Very different from "everything coming in gets converted to sRGB then we leave them alone."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20100122/74d16fa3/attachment.htm 

More information about the cairo mailing list