Re: [GM-help] Convert RGB/CMYK to RGB with ONE command?
Swiss army knife of image processing
Brought to you by:
bfriesen
From: Benjamin A. <ben...@gm...> - 2007-03-10 12:43:49
|
Hi Bob! I wish graphicsmagick had a wiki for users to add/maintain some documentation and samples. If it did, I would just have appended your explanation of -colorspace. > > - I really need ONE command to convert both CMYK and RGB images to > > RGB jpeg. The latter command works well for CMYK, but not for RGB > > images (I agree that specifying an CMYK source profile for RGB > > images is not a good idea). Unfortunately, simply NOT specifying the > > source profile using > > What is needed is an integrated color management system. GM does not > have that yet. The idea is that there is would be a defined "working > space" and images are converted to that working space prior to > manipulation. This would solve your problem but GM don't have this > facility yet. > > > How can I solve this problem? Why can't graphicsmagick be smart > > enough to realize the source image is cmyk, the target profile is > > rgb, and then convert autmatically? > > It is not smart enough because no one has written the code. Sorry, that question wasn't meant to offend you! I'll probably end up with a script first running "gm identify -format %r" on the source image and then deciding on a commandline based upon its output. Is that what you would do? thank you, Bob! ben > > Bob > ====================================== > Bob Friesenhahn > bfr...@si..., http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |