Previous - imgCrop Section Home - Images Next - imgAdjLight


imgAdjHueSat ( )

Adjusts the hue and saturation of the image stored in memory buffer

Usage:

imgAdjHueSat (object me, integer hue, integer saturation)

Parameters:

hue ( integer) - new hue in the range of 0-255

saturation ( integer ) - new saturation in the range of 0-255

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )
xtRose.imgAdjHueSat( 125, 125 )

Notes:


Previous - imgCrop Section Home - Images Next - imgAdjLight