Page 1 of 1

Converting image from sRGB to CMYK isn't working.

Posted: 2015-02-11T13:42:26-07:00
by IYIaster
I downloaded this sRGB image
http://www.wallpaperish.com/wp-content/ ... Meadow.jpg
I then tried to covert the image using Adobe's CMYK color profiles with the following command.

Code: Select all

"C:\Program Files\ImageMagick-6.9.0-Q16\convert.exe" Pink-Meadow.jpg -profile "C:\Program Files\ImageMagick-6.9.0-Q16\ICC Profiles\CMYK\USWebCoatedSWOP.icc" Pink-Meadow-cmyk.jpg
I then checked the colorspace using this command

Code: Select all

"C:\Program Files\ImageMagick-6.9.0-Q16\identify.exe" -verbose Pink-Meadow-cmyk.jpg | findstr Colorspace:
It still returns sRGB as the colorspace. I just started playing around with imagemagick and I'm sure I'm doing something wrong.

Re: Converting image from sRGB to CMYK isn't working.

Posted: 2015-02-11T13:59:55-07:00
by fmw42
The colorspace will show in the Properties as a profile.

your profile --- "C:\Program Files\ImageMagick-6.9.0-Q16\ICC should probably be "C:\Program Files\ImageMagick-6.9.0-Q16\sRGB.icc

Re: Converting image from sRGB to CMYK isn't working.

Posted: 2015-02-11T14:01:45-07:00
by snibgo
Your input doesn't have an embedded profile. The effect of the first "-profile" is to declare the current profile, and embed it in the image. A second (and third and fourth...) "-profile" then converts to the new profile, replacing the embedded one.

So you need something like:

Code: Select all

convert Pink-Meadow.jpg -profile sRGB.icc USWebCoatedSWOP.icc p.jpg
p.jpg is now CMYK.