Hi ,
I am trying to convert a PSD file with CMYK to Jpeg with RGB .
when we convert the image we observe that final converted image (jpeg) don't have same colors as original file.there is a huge difference in color .
We are using ImageMagick version
Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Command we are using :
convert -resample 72 sourceimage.psd -background white -flatten -resize 500 "finalimage.jpg"
Let me know if you faced this issue before .i need to deliver this functionality ASAP .
Please help.
CMYK to RGB
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: CMYK to RGB
Your CMYK PSD image probably contains an embedded profile that describes the colours precisely. ("identify -verbose x.psd" will tell you if this is so.) If so, you should use "-profile sRGB.icc" or similar command to convert it to a precise sRGB profile.pssvarma8881 wrote:I am trying to convert a PSD file with CMYK to Jpeg with RGB .
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: CMYK to RGB
Asides:
Proper IM syntax would read the input psd file and then do the -resample. This becomes more important with IM 7, which is not as forgiving as IM 6. See http://www.imagemagick.org/Usage/basics/#why and http://www.imagemagick.org/Usage/basics/#syntax
It also seems to me that you may lose quality by doing both a -resample and -resize. You should be able to just resize and set the desired density.
Proper IM syntax would read the input psd file and then do the -resample. This becomes more important with IM 7, which is not as forgiving as IM 6. See http://www.imagemagick.org/Usage/basics/#why and http://www.imagemagick.org/Usage/basics/#syntax
It also seems to me that you may lose quality by doing both a -resample and -resize. You should be able to just resize and set the desired density.