[magick-users] Gamma Correction

Manish Aggarwal manish at circuitsutra.com
Tue Oct 28 04:38:54 PDT 2008


Hi All,

For Gamma correction, Image Maick (IM) provides a API named "gamma", it can take either a single argument or the three different values (of type double) one for each RGB channel.

For reference see :-
http://www.imagemagick.org/Magick++/Image.html

Now, my question is if I have got six different value of a gamma correction graph , then how can I use these values of graph to get a number of type double that can be passed to the API?

In other words, if I got gamma correction graph then how can I use it to call the gamma API provided by Image Magick.

Regards,
Manish



More information about the Magick-users mailing list