Prototype
ImgAdjustBrightness (intImageHandle, floatPercent)
Description
It changes the brightness in gray 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
//It changes brightness percentage
ImgAdjustBrightness(_CurrentImage,20.0);
//It shows a message
ApplicationLog(_CurrentAgent,'Set Brightness to 20.0%');