ImageGammaCorrect

(PHP3 >= 3.0.13, PHP4 >= 4.0.0)

ImageGammaCorrect --  Apply a gamma correction to a GD image

Description

int imagegammacorrect (int im, double inputgamma, double outputgamma)

The ImageGammaCorrect() function applies gamma correction to a gd image stream (im) given an input gamma, the parameter inputgamma and an output gamma, the parameter outputgamma.