IBasicBitmapOps::AdjustGamma (Windows CE 5.0)

Send Feedback

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

IBasicBitmapOps

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.