I read this post about how to convert PDF to CMYK, but when I try the accepted solution
gs \
-o test-cmyk.pdf \
-sDEVICE=pdfwrite \
-sProcessColorModel=DeviceCMYK \
-sColorConversionStrategy=CMYK \
-sColorConversionStrategyForImages=CMYK \
test.pdf
I does not get a pdf with CMYK color space, if my original pdf does not contain an image. If I add an image to it, I get the right result (checked with identify
).
For example, if I create a svg with inskcape
with one rectangle, export it to pdf, and then use the ghostscript command, it still gets a pdf in sRBG color space. But, if I add an image in my svg, it works fine.
What is the right option in gs
to deal with that problem? My version is 9.19.
Edit: KenS found the problem: the report from identify
is wrong. So I add my installed version number of ImageMagick: 6.9.3.