[cairo] Spot colors (and CMYK)
ecir hana
ecir.hana at gmail.com
Tue Feb 23 12:56:02 PST 2010
On Tue, Feb 23, 2010 at 9:27 PM, Bill Spitzak <spitzak at gmail.com> wrote:
> Chris Murphy wrote:
>
>> There aren't many such spot colors. There are many more common spot colors
>> that can be defined as LAB just fine and displayed well.
>
> In that case there is no need to send the spot color to Cairo at all. Just
> send the equivalent color.
Yes, there is because Cairo could be used to both draw to screen and
to export PDF with the same set of graphic commands.
For example: "Cairo, put this picture (x) to this surface (y)"
If x is CMYK and y is a surface from drawing context of a window,
then Cairo would convert x to RGB, matching y's profile
If x is CMYK, but y is PDF surface, then Cairo just forwards the image
data you supplied...
The key concept is, you don't have to change the sentence, just those
few variables. And this whole discussion is how to make sure the
colors appear to what you intended as closely as possible.
More information about the cairo
mailing list