Page 1 of 1

This photo can't be convert From CMYK to RGB.

Posted: 2010-07-26T01:17:13-07:00
by carol_sun
After converting, the image's colorspace is still CMYK.
Other photos could be convert successfully, only this photo failed.
How to convert the "sepecial" photo ?

Code: Select all

~/ImageMagick/bin$ ./convert  file_4.jpg -profile SRGBSPAC.ICM 1.jpg 
~/ImageMagick/bin$ ./identify -verbose 1.jpg | grep Colorspace
    Colorspace: CMYK

ps: I got "SRGBSPAC.ICM" at http://www.imagemagick.org/download/del ... ofiles.zip
please use Firefox or other browsers except IE to open the following picture , because IE can't deal with CMYK image.
Image
http://www.ajrice.com/UploadFile/Image/file_4.jpg

Re: This photo can't be convert From CMYK to RGB.

Posted: 2010-07-26T02:50:52-07:00
by Drarakel
You can convert the pictures that way only if in the file is already the correct source color profile. If there's no embedded source color profile, you have to specify it manually (for CMYK pictures in such cases, use a generic SWOP profile, or e.g. "US Web Coated SWOP"). So, you have to use something like this:
convert file_4.jpg -profile USWebCoatedSWOP.icc -profile SRGBSPAC.ICM 1.jpg
See also here for more about the color profiles:
http://www.imagemagick.org/Usage/formats/#color_profile

Re: This photo can't be convert From CMYK to RGB.

Posted: 2010-07-26T04:27:38-07:00
by carol_sun
Dear Drarakel, it works, thank you very much!

By the way, for CMYK pictures in such cases, use a generic SWOP profile, Dear administrators, why don't you put USWebCoatedSWOP.icc file into "http://www.imagemagick.org/download/del ... ofiles.zip"