On [2005-Aug-19]  Christopher Colbert <co...@chop.swmed.edu> wrote:
>
> Hi Pymol'rs,
>
> I have search the Wiki and Mail-list archive to find a protocul for using
> the CMYK color space, but have only found "color-safe" definitions.
>
> My Question(s):
>
> When do you define the color space during the creation of a figure to
> ensure usage of a particular color space, ie. cmyk?  Can this be done from
> a script and with which command, "space cmyk"?
>
> >From my understanding from the mail-list, I need to define the color
> space before I use any color.  Is this correct?  Can it also be done
> retroactively prior to ray tracing?
>
> Finally, once the color space is defined, do all the rgb colors get
> redefined automatically, or does this need to happen manually?  I
> found the table for the biggest culprits, but Warren pointed out there was
> internally defined colors for the atom types. Does someone have a macro
> that redefines the pymol defined colors including those for the atoms?

Chris,

CMYK is a device-dependent colour space, i.e. the colour that is chosen to
match to a particular RGB colour depends on the machine it is going to be
printed on (and hence the inks that will be used in the printing).
Therefore there is no one-to-one mapping of CMYK values to RGB values
(even with a  profile defining how the RGB values should be displayed).

Since pymol's idea of CMYK is so limited (and from a printer's point of
view probably shouldn't even exist) you are far better off getting the RGB
image out of pymol to look just the way you want it to (assuming a
calibrated display and approprate colour profile) and then use a
full-featured converter to generate the appropriate CMYK image for the
device it is going to be printed on. One suggestion for a converter is
GIMP (soon to be renamed something else) because it does know how to
use/respect ICC profiles.

Rich

Reply via email to