IM on Linux thinks CMYK is RGB

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
andrewadperfect

IM on Linux thinks CMYK is RGB

Post by andrewadperfect »

I have an interesting situation in which commands (convert) that work
solidly on a Mac OS X machine do not produce good results when run
on a Linux machine. They're way out of contrast.

Linux distribution is Suse I believe.
Version: ImageMagick 6.2.3 02/24/06 Q16

After some searching, I realized that identify shows every file as RGB,
even when I transfer a file I know to be CMYK. (I'm converting EPS files
in CMYK format to JPG files in RGB).

I know the ImageMagick on the Linux server came pre-compiled and
have yet to compile them from source. Still, it's an odd problem unless
it's a known bug.

Has anyone run into this kind of situation, and know a solution?

Thanks,
Andrew
teetanne

Re: IM on Linux thinks CMYK is RGB

Post by teetanne »

Dear andrewadperfect,

I am not sure whats your problem is. I suppose you want simply convert cmyk-eps to rgb-jpeg. Of course that task can be done by IM. Try following stmt:

Code: Select all

 convert -colorspace RGB cymk.eps rgb.jpg
Review your results

Code: Select all

identify -verbose rgb.jpg
May that help you. More information about IM and your OS would be nice.

TeeTanne
andrewadperfect

Re: IM on Linux thinks CMYK is RGB

Post by andrewadperfect »

The problem was that 'identify' showed CMYK files as RGB which was incorrect,
and any resulting conversions were wrong.

After compiling IM from source, the latest version, it now works fine. The old
was 6.2.3 and I believe is now 6.3.3.

I don't know exactly where the problem was, but compiling the latest from
source worked.

Andrew
Post Reply