[magick-users] convert RGB to CMYK
Brian Jackson
brian at actionathletics.com
Wed Apr 16 13:25:25 PDT 2008
On Wednesday 16 April 2008 06:22, John Culleton wrote:
> I need to convert a jpg file (e.g., photo) or png file from RGB to
> CMYK color model. All the examples seem to go the other way. What is
> an example string I can use as a model? I have an example that uses
> pnmtotiffcmyk as well as ImageMagick but I hope to do the conversion
> without an additional program.
I've got the AdobeICCProfiles-2.0-31 rpm installed which provides quite a few
ICC profiles.
convert rgb_file.jpg -profile path/to/srgb.icm -profile path/to/cmyk.icc
cmyk_file.jpg
You can also use the utilities from the liblcms package as well. "jpegicc"
and "icctrans" come to mind. http://www.littlecms.com
good luck,
brian
--
Brian Jackson
Action Athletics Sports Photography
http://www.ActionAthletics.com/
More information about the Magick-users
mailing list