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
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.