Skip to content
Prev 386463 / 398502 Next

RGB -> CYMK, with consistent colors

Martin,
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 pdf (qpdf: https://github.com/qpdf/qpdf is
needed to uncompress the pdf)
the numeric color values look correct, although the pdf contents don't exactly
match those generated by PostScriptSetCol

It is possible the problem is in the conversion that occurs when
displaying/printing a pdf.