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.
1/6/2010
This method adjusts the gamma of a bitmap image.
Syntax
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 ^ gammaA 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 Value
This method returns S_OK if successful.
Requirements
| Header | imaging.h |
| Library | Imaging.lib |
| Windows Embedded CE | Windows CE 5.0 and later |