Identify and Freehand EPS containing spot colors

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
aivoton

Identify and Freehand EPS containing spot colors

Post by aivoton »

I have some trouble retrieving the right colorspace value from EPS files exported with Freehand MX. Identify always shows RGB, even though the file has CMYK colors (or PMS spot colors). Also, would it be possible to retrieve a list of spot colors from EPS files with identify? This seems to work at least with PDF files in the latest IM release. Identify outputs the correct colorspace for EPS files exported with InDesign or Illustrator. Here's the Freehand EPS file.
baskote

Post by baskote »

i have similar problems with pdf files.

The file on http://softwareftp.dig.de/pdfs/pdf_cmyk_rgp.pdf is detected as RGB image but contains a CMYK rectangle.

Markus
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

ImageMagick cannot always detect the colorspace of a PDF image. You can always force a colorspace with the -colorspace option:
  • convert -colorspace CMYK pdf_cmyk_rgp.pdf image.png
However, with a patch we can detect CMYK EPS images. We put a patch in ImageMagick 6.3.2-0 Beta, available sometime tomorrow. Thanks for the problem report.
aivoton

Post by aivoton »

Thank you very much for your quick reply & patch regarding CMYK EPS colorspace identification. How about retrieving spot color ID:s from an EPS file similar to PDF:s, is this possible?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You know the drill. Post a URL to a few EPS images with spotcolors and point us to the specification and we'll get a patch into ImageMagick to recognize the spotcolor names in EPS.
aivoton

Post by aivoton »

Ok.
Freehand EPS with spot colors
Contains spot information such as:

Code: Select all

%%DocumentCustomColors: (PANTONE 1775 C)
%%+ (PANTONE 7437 C)
%%+ (PANTONE 568 C)
Illustrator EPS with spot colors
Contains spot information such as:

Code: Select all

%%DocumentCustomColors: (PANTONE 568 C)
%%+ (PANTONE 7437 C)
%%+ (PANTONE 1775 C)
So I suppose one could retrieve a list of spot colors with identify based on these values. Hope this helps.
Post Reply