ImageGammaCorrect

(3.0.13 - 3.0.18 only, PHP 4 >= 4.0.0)

ImageGammaCorrect --  Apply a gamma correction to a GD image

Description

int imagegammacorrect (int im, float inputgamma, float 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.