Re: [R] RGB -> CYMK, with consistent colors

2020-12-02 Thread Derek Jones
Martin, However after some testing. I totally agree that CMYK handling in R using pdf(..., colormodel = "cmyk") is not correct. Looking at the source code of the function PostScriptSetCol in file src/librarygrDevices/src/devPS.c the conversion to CMYK looks correct. Looking at the generated p

Re: [R] RGB -> CYMK, with consistent colors

2020-11-30 Thread Derek Jones
Martin, 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 vario

Re: [R] RGB -> CYMK, with consistent colors

2020-11-29 Thread Derek Jones
Martin, Have you tried printed a few pages in CMYK? A monitor is based on mixing light using Red-Green-Blue. So it is not possible for the monitor to show CMYK which must be printed on paper to view correctly. Yes, I have printed some 'CMYK' pages. The blue is very obviously not cyan, as com

[R] RGB -> CYMK, with consistent colors

2020-11-29 Thread Derek Jones
All, I used the very useful colorspace package for the plots in my book (pdf available here): http://knosof.co.uk/ESEUR/ The color makes the plots look great, on screen. To get lots printed, the printer requires converting the images to use cmyk (a common requirement for larger printers, I'm to