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?".
When I try to open this in Photoshop, I get an error "The embedded ICC profile cannot be used because the ICC profile is invalid. Ignoring the profile."
For an image that has no profile, "-profile" just adds that profile as a setting in the file without changing pixel values. If your image is sRGB but you add a CMYK profile, software won't like it.
So you should "-profile" to add the correct profile (sRGB), then do another "-profile" which will convert pixel values (in this case from sRGB to CMYK) as well as putting the profile in the file. Colours will be slightly off if you used the wrong sRGB profile.
Wow, thanks. I used sRGB_IEC61966-2-1_black_scaled.icc and got much closer to the output in photoshop.
It appears that Photoshop uses, as default, an option called intent saturation.
If I change the preferences in photoshop in the Convert to Profile menu from intent saturation to intent perceptual I get exactly the same output as ImageMagick!
Where/how in ImageMagick would I be able to control that option?