Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method adjusts the gamma of a bitmap image.
HRESULT AdjustGamma( FLOAT gamma);
Parameters
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.
Return Values
This method returns S_OK if successful.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.
See Also
Send Feedback on this topic to the authors