CMYK TIF to CMYK EPS

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
axelrose
Posts: 96
Joined: 2008-12-16T06:01:27-07:00

CMYK TIF to CMYK EPS

Post by axelrose »

Hello all,

can anybody give advice how to produce CMYK EPS?

I tried this:

Code: Select all

> convert -version
Version: ImageMagick 6.5.4-7 2009-08-03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

> convert rose: -colorspace cmyk tif:/tmp/rose.tif
> exiftool /tmp/rose.tif | grep Photometric
Photometric Interpretation      : CMYK
> convert tif:/tmp/rose.tif -colorspace cmyk /tmp/rose.eps
When I view the resulting "rose.eps" with Apple's Preview.app, which converts the EPS
to PDF, it is no longer a red one but a blue one.

Thanks for your time,
Axel.
axelrose
Posts: 96
Joined: 2008-12-16T06:01:27-07:00

Re: CMYK TIF to CMYK EPS

Post by axelrose »

May I kindly ask if the color change is reproducible and whether this is a recognized bug?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: CMYK TIF to CMYK EPS

Post by fmw42 »

perhaps you need to include proper sRGB and CMYK profiles

see http://www.imagemagick.org/Usage/formats/#profiles
axelrose
Posts: 96
Joined: 2008-12-16T06:01:27-07:00

Re: CMYK TIF to CMYK EPS

Post by axelrose »

Using profiles works but only if the source file has a profile attached.

ok:
convert rose: -profile ISOcoated.icc rose.tif
convert rose.tif -profile ISOcoated.icc rose.eps

not ok:
convert rose: -colorspace cmyk rose.tif
convert rose.tif -profile ISOcoated.icc rose.eps

Nethertheless I think that EPS creation shouldn't convert red to blue when creating
an EPS with "-colorspace cmyk".
Post Reply