Page 1 of 1

CMYK PDF does not retain original colors

Posted: 2016-02-01T03:08:44-07:00
by reptilee
We are having difficulties getting imagick to return a composited CMYK pdf with the same colors.

The issue has been described it here: viewtopic.php?f=1&t=29064
patrick.h wrote:Hi,

I've been having a bit of difficulty getting imagick to return a composited CMYK pdf with the same colors. Out of curiosity, I tried the simplest ImageMagick command that I know of: open convert and close, and the colors are still different. :(

Code: Select all

convert -density 300 before.pdf after.pdf  
before and after pdfs are found here:
https://www.dropbox.com/sh/z6jg2e12zplc ... -1mha?dl=0

before.pdf pdf version is 1.3 (from Adobe Illustrator)
ImageMagick 6.9.2-5 Q16 x86_64 2015-11-09
Ghostscript 9.10 (2013-08-30)

the expected color of the line is #221E1F,
the resulting color is #090707.
At least white is ok :).

Any advice on how to proceed will be greatly appreciated.

PS: What i'm trying to achieve is to get the color of the line to be #000000, from a cmyk pdf to a cmyk jpeg / tiff. It's something I can achieve with Illustrator, but for some reason, I can't with imagick.
Any help on this would be appreciated.

Re: CMYK PDF does not retain original colors

Posted: 2016-02-01T10:40:05-07:00
by fmw42
Is your issue with Imagick or Imagemagick. They are two different things. If you are using the command above, the issue is Imagemagick.

Note to Developers: I have tried using the command line to convert his file with and without conversion to sRGB and using profiles and I cannot get a close enough conversion using IM 6.9.3.2 Q16 Mac OSX. GS 9.16. See my comments in the linked post.

Re: CMYK PDF does not retain original colors

Posted: 2016-02-21T20:48:51-07:00
by patrick.h
Just a follow-up on Reptilee's post: we were experiencing issues with Imagick, so we tested the code in Imagemagick to locate the problem and found that problem lies with imagemagick. Updating Ghostscript to 9.15 has not solved the issue. Is there an alternative program to Imagemagick that might work for us?

Re: CMYK PDF does not retain original colors

Posted: 2016-02-22T01:11:36-07:00
by snibgo
... and found that problem lies with imagemagick.
Unless you describe what the problem is, suggesting a solution is difficult.

Re: CMYK PDF does not retain original colors

Posted: 2016-02-26T15:30:08-07:00
by dlemstra
I have GS 9.18 and I cannot reproduce the issue on Windows.