Another installment of Sara Beats Her Head Against Tech:
When trying to convert images from RGB to CMYK with ImageMagick, the regular command to convert:
convert original.jpg -colorspace CMYK new.jpg
worked – but the converted image’s colors looked absolutely terrible. So I downloaded some color profiles, and tried to use them:
convert original.jpg -colorspace CMYK -profile sRGB_v4_ICC_preference.icc -profile Photoshop5DefaultCMYK.icc new.jpg
which just gave me the error:
convert: color profile operates on another colorspace `icc’
Searching the internet gave me absolutely no answers on any forum. Then I noticed in the docs, the example given for using profiles when the original has no profile embedded already was:
convert rgb_image.jpg -profile sRGB.icc -profile USCoat.icm cmyk_image.jpg
Wait. Something’s missing… AHA! The -colorspace option was missing!
convert original.jpg -profile sRGB_v4_ICC_preference.icc -profile Photoshop5DefaultCMYK.icc new.jpg
Works like a champ. So, if you’re getting the error “convert: color profile operates on another colorspace `icc’,” try making sure you’re not specifying BOTH the colorspace and the profile(s).