IBasicBitmapOps::AdjustGamma (Windows CE 5.0)
This method adjusts the gamma of a bitmap image.
HRESULT AdjustGamma( FLOAT gamma);
[in] A FLOAT value used to adjust the gamma of a bitmap image.
The gamma adjustment is described by the following equation.
New Intensity = Old Intensity ^ gamma
A value for gamma that is greater than 1 makes the image darker. A value for gamma that is less than 1 makes the image brighter.
This method returns S_OK if successful.
OS Versions: Windows CE 5.0 and later.
Link Library: Imaging.lib.
Send Feedback on this topic to the authors