Page 1 of 1

When to use -colorspace

Posted: 2010-01-22T12:30:51-07:00
by djeyewater
I need to convert images to sRGB, so I'm using convert with -profile. But I see there is also a -colorspace option. Should I use -colorspace sRGB as well as -profile /path/to/sRGB.icc?

Thanks

Dave

Re: When to use -colorspace

Posted: 2010-01-22T14:25:29-07:00
by fmw42
I am no expert on profiles, but I don't think using them both at the same time is appropriate. see http://www.imagemagick.org/Usage/formats/#color_profile

Re: When to use -colorspace

Posted: 2010-01-22T15:51:14-07:00
by djeyewater
fmw42 wrote:I am no expert on profiles, but I don't think using them both at the same time is appropriate. see http://www.imagemagick.org/Usage/formats/#color_profile
Thanks for the link, unfortunately there doesn't seem to be much info on whether you should -colorspace as well as -profile there, all it says about -colorspace (unless I missed something) is
http://www.imagemagick.org/Usage/formats/#color_profile wrote:RGB and CMYK are not colorspaces, they are color systems (which IM controls using the "-colorspace" operator).
Dave

Re: When to use -colorspace

Posted: 2010-02-15T07:39:36-07:00
by JimKerr
Hi,

I want to use IM to convert random images to sRGB. With random images I mean that the images can have any random colorprofile or not a colorprofile at all.
Can anyone tell me what to do?