Previous - imgAdjRGB Section Home - Images Next - imgFilterNoise


imgAdjGamma ( )

Adjusts the color balance of the image stored in memory buffer

Usage:

imgAdjGamma (object me, float gamma)

Parameters:

gamma ( float) - color balance in the range of 0.1 to 5

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )
xtRose.imgAdjGamma( 1.1 )

Notes:


Previous - imgAdjRGB Section Home - Images Next - imgFilterNoise