How do I alter color balance in photos?

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
magickuser

How do I alter color balance in photos?

Post by magickuser »

Hi, does anyone know how I can alter the color balance / white balance in a photo?

For example, I would like to correct for fluorescent light, tungsten light, and so forth.

Alternatively, I would like a simple way to add R, G, B, C, M, or Y to make adjustments. For example, fluorescent lighting gives a green tint to photos, so I would like to change a photo to add green's complement (magenta) to a photo.

Thanks.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How do I alter color balance in photos?

Post by Bonzo »

You could try "channel" loads of options:
http://www.imagemagick.org/script/comma ... hp#channel

Code: Select all

convert house.jpg -channel g -normalize adjust.jpg
"Levels" for white point - no idea how to use that:
http://www.imagemagick.org/script/comma ... .php#level

There are some other ideas here: http://www.imagemagick.org/Usage/color/
Post Reply