|
These two functions adjust the gamma of the current image. If Gamma is less than 1.0, the image is darkened. If Gamma is greater than 1.0, the image is brightened. iluGammaCorrectInter is a slower function and uses interpolation to achieve this effect. iluGammaCorrectScale achieves this effect by scaling the colours via iluScaleColours.
| ILboolean iluGammaCorrectScale( ILfloat Gamma );
|
Parameters
Errors | - ILU_ILLEGAL_OPERATION
- The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.
- ILU_OUT_OF_MEMORY
- Could not allocate enough memory in an operation
|
See Also
|