Applies gamma correction to the given gd image
given an input and an output gamma.
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
inputgamma
The input gamma
outputgamma
The output gamma