ImgAdjustBrightness

Top  Previous  Next

Prototype

 

ImgAdjustBrightness (intImageHandle, floatPercent)

 

Description

 

Changes the brightness in grayscale or color images. It allows to add or subtract a custom light percentage to each pixel.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

floatPercentage: float value that specifies brightness percentage increment or decrement. It can range from -100.0 to +100.0

 

Returned value

 

None.

 

Example

 

// Change brightness percentage

ImgAdjustBrightness(_CurrentImage,20.0);