Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 ^ 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 Value
This method returns S_OK if successful.
Requirements
Header | imaging.h |
Library | Imaging.lib |
Windows Embedded CE | Windows CE 5.0 and later |