[R] RGB -> CYMK, with consistent colors

Derek Jones gm@ne @end|ng |rom kno@o|@co@uk
Mon Nov 30 21:40:27 CET 2020


> However after some testing.
> I totally agree that CMYK handling in R using pdf(..., colormodel = "cmyk")
> is not correct.

I thought the issue may be OS specific, but I get similar behavior on a Mac.

I have discovered the Cyan tool: http://cyan.fxarena.net/
and will try it out.

As various people have pointed out, RGB -> CMYK conversion is never going
to be perfect.  It just so happens that my book contains many plots that use
red and cyan, and a good conversion to cyan is most of what I am after.

 > One solution:
 > Output in tiff or png instead and then convert to CMYK using external tools.

There are 600+ figures.  There are png versions here:

More information about the R-help mailing list