Mobile app version of vmapp.org
Login or Join
Pope1402555

: Incorrect CMYK colors after PDF-to-EPS convertion I use GS to convert PDF to outlined eps. Like this: gs -dNOPAUSE -sDEVICE=pdfwrite -sColorConversionStrategy=CMYK -dNoOutputFonts -sOutputFile=test-crop-curve-1.pdf

@Pope1402555

Posted in: #Cmyk #Eps #Pdf

I use GS to convert PDF to outlined eps.
Like this:

gs -dNOPAUSE -sDEVICE=pdfwrite -sColorConversionStrategy=CMYK -dNoOutputFonts -sOutputFile=test-crop-curve-1.pdf ./test-crop.pdf


PDF is generated by xelatex from tex code:

definecolor{gray10}{cmyk}{0,0,0,0.1}
definecolor{gray20}{cmyk}{0,0,0,0.2}
definecolor{gray30}{cmyk}{0,0,0,0.3}
definecolor{gray40}{cmyk}{0,0,0,0.4}
definecolor{gray50}{cmyk}{0,0,0,0.5}
definecolor{gray60}{cmyk}{0,0,0,0.6}
definecolor{gray70}{cmyk}{0,0,0,0.7}
definecolor{gray80}{cmyk}{0,0,0,0.8}
definecolor{gray90}{cmyk}{0,0,0,0.9}


...

chessboard[clearboard, color=black, linewidth=2pt, markstyle=knightmove, markmove={a8-b7}, color=blue, linewidth=2pt, markstyle=knightmove, markmove={c8-d7}, color=green, linewidth=2pt, markstyle=knightmove, markmove={e8-f7}, color=purp, linewidth=2pt, markstyle=knightmove, markmove={g8-h7}, color=gray10, linewidth=2pt, markstyle=knightmove, markmove={a6-b5}, color=gray20, linewidth=2pt, markstyle=knightmove, markmove={c6-d5}, color=gray30, linewidth=2pt, markstyle=knightmove, markmove={e6-f5}, color=gray40, linewidth=2pt, markstyle=knightmove, markmove={g6-h5}, color=gray50, linewidth=2pt, markstyle=knightmove, markmove={a4-b3}, color=gray60, linewidth=2pt, markstyle=knightmove, markmove={c4-d3}, color=gray70, linewidth=2pt, markstyle=knightmove, markmove={e4-f3}, color=gray80, linewidth=2pt, markstyle=knightmove, markmove={g4-h3}, color=gray90, linewidth=2pt, markstyle=knightmove, markmove={a2-b1}]


(full tex document is here.)

So, CMYK K values have to be 10%, 20%, 30% and so on.

PDF colors are OK (40% and 80% in places, that are shown on screenshots). But after converting via GS I get CMYK colors in EPS like this:




Difference everywhere is less than 1%, but it is.

May be somebody knows how to make GS to save exact CMYK colors?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope1402555

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme