[magick-users] ICC color space conversions

rogerhoward at rogerroger.org rogerhoward at rogerroger.org
Wed Feb 21 18:28:56 CST 2007


Ok, I got a response (offlist), the gist of which is that if the  
source image has a profile, then a single -profile "target.icc" will  
convert from the source image's profile to the specified target  
profile. This is what I was hoping.

However, in (quick) further testing, it seems that this is the case  
for TIFF and JPEG, but not for PSD files. Can anyone confirm that  
Imagemagick is unable to read ICC profiles from PSDs?

A simple demonstration is to take an image and save it to both PSD  
and TIFF (with the same ICC profile in both). These images should be  
a perfect colorimetric match in an ICC aware image editor. Then run  
them through the same convert command, such as:

convert source.psd -profile "target.icc" output-psd.jpg
convert source.tif -profile "target.icc" output-tif.jpg

If PSD and TIF were both supported (with respect to ICC conversions)  
then both of the output JPEGs should be a perfect, or at least nearly  
perfect, match. Alas, they are clearly not, at least on my end.

Is this a known limitation with the PSD support in Imagemagick?

Best,

Rh


More information about the Magick-users mailing list