-colorspace, -profile, and Lab

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

-colorspace, -profile, and Lab

Post 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.
Post Reply