[SOLVED] Can't find lcms color profiles?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
amoswright

[SOLVED] Can't find lcms color profiles?

Post by amoswright »

I have installed Imagemagick-6.4.1 using fink on an intel mac os x 10.5. I want to convert CMYK .psd files to RGB .jpg files, and to use lcms color profiles. When I try this command:

convert 0054620.psd -strip -profile USWebCoatedSWOP.icc -profile sRGB.icc 0054620-converted.jpg

I get this error:

convert: unable to open file `USWebCoatedSWOP.icc': No such file or directory.
convert: unable to open file `sRGB.icc': No such file or directory.

Lcms is listed under delegates:
DELEGATES bzlib djvu fontconfig freetype jpeg jp2 lcms openexr png tiff xml zlib

so I'm not sure what to do to be able to use color profiles for conversion? hopefully it is something simple that i'm missing...

Thank you for any help!
Sincerely,
Amos
Last edited by amoswright on 2008-08-21T11:38:41-07:00, edited 1 time in total.
amoswright

Re: Can't find lcms color profiles?

Post by amoswright »

[update]
I just tried the same command on a similarly equiped ubunto box, (imagemagick-6.3.7 w/lcms listed in delegates) and got the same result.
amoswright wrote: convert: unable to open file `USWebCoatedSWOP.icc': No such file or directory.
convert: unable to open file `sRGB.icc': No such file or directory.
So, now I'm worried that this is a "user error" issue, and I should have posted in the user forum rather than bugs... In any case, I've had no luck searching this forum, documentation, and googling, to understand how to properly use color profiles to convert between colorspaces.

Thanks again for any help!
amoswright

Re: Can't find lcms color profiles?

Post by amoswright »

ok, apologies... it looks like it was a simple "user error" fix...
you can download the color profiles from adobe here:
http://www.adobe.com/downloads/
(not sure if there is a non-commercial source for profiles?)
and then just put them somewhere (like your home directory) and properly reference them in your script:

Code: Select all

convert -strip -profile /$path_to_profiles/USWebCoatedSWOP.icc 0054620.psd -profile /$path_to_profiles/RGB_Profiles/AdobeRGB1998.icc 0054620rgb.jpg
thank you to http://www.niftiestsoftware.com/?p=25 for a handy tutorial on this.
and thanks to imagemagick for being awesome, if sometimes confusing... now on to converting thousands of images!
Post Reply