Page 1 of 1

-colorspace, -profile, and Lab

Posted: 2010-11-14T11:41:59-07:00
by GreenKoopa
I see how to convert between RGB and Lab using -colorspace. I eventually figured out how to go between color profiles (Adobe RGB, ProPhoto RGB, Gray Gamma 2.2, etc.) using -profile. I can't find any way to go from a color -profile to Lab color. This can be very useful when resampling, sharpening, adjusting the contrast, generating a human-perception lightness histogram, etc. I can find examples in the documentation where using the HSL, HSB, or Gray colorspaces or setting the -gamma have been recommended during adjustments. Lab is another option that can yield better results, often more simply.