How to simulate CMYK decoded as 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?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to simulate CMYK decoded as RGB?

Post by fmw42 »

Try these. You can get different results by varying one or both profiles to other CMYK and RGB profiles.

Code: Select all

convert Lenna.png -colorspace CMYK -profile /Users/fred/images/profiles/USWebCoatedSwop.icc -profile /Users/fred/images/profiles/sRGB.icc -strip result1.png

Code: Select all

convert Lenna.png -colorspace CMYK -profile /Users/fred/images/profiles/GenericCMYKProfile.icc -profile /Users/fred/images/profiles/sRGB.icc -strip result2.png

Code: Select all

convert Lenna.png -colorspace CMYK -profile /Users/fred/images/profiles/USWebCoatedSwop.icc -profile /Users/fred/images/profiles/AdobeRGB1998.icc -strip result3.png

Code: Select all

convert Lenna.png -colorspace CMYK -profile /Users/fred/images/profiles/WebCoatedFOGRA28.icc -profile /Users/fred/images/profiles/AdobeRGB1998.icc -strip result4.png
arbingordon
Posts: 8
Joined: 2017-07-19T03:56:37-07:00
Authentication code: 1151

Re: How to simulate CMYK decoded as RGB?

Post by arbingordon »

Perfect, this puts me in the right direction, thank you!
Post Reply