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?".
Hello,
I was hoping to get some assistance with an intermediate ImageMagick issue I'm encountering.
I have IM working well processing hundreds of EPS files, converting them to various sized PNG formats. For 98% of the files, the process works great. But I've run into a number of EPS files that when converted, the colors shift. I assume this has to do with color profiles or colorspaces, but I've tinkered with RGB/CMYK settings and nothing I do seems to help.
I tried what you suggested, and all it seemed to do was include a transparent background on the result png. The color is still the same (incorrect).
It's interesting because when the EPS file is loaded into Photoshop, the colors are correct. When I load it in Gimp, the colors are off, the same as IM.
So I'm assuming it's the CMYK to RGB conversion that's doing it. I've read enough to know that CMYK -> RGB is "bad", but I'm not quite sure what to do about it. :/
From "identify -verbose", I see that original.eps contains Photoshop spotcolors. As I understand it, these are separate layers for plates that are inked up with fixed colours that need not be representable in CMYK or RGB. I don't know if IM takes any notice of these.
Your best bet might be to convert such files with Photoshop.
I think you hit it spot on with the spot colors. I compared to other EPS files that convert reliably and the ones with the SpotColors are the ones having the issue.
It makes sense that IM doesn't handle these... I'll work on another solution.
I think problems with CMYK conversion is generally to do with CMYK supposedally being the negative of linear-RGB however many people treat it as being the negative of non-linear sRGB.
In other words result is either too light or too dark in midtone colors.