This changes the general brightness of the image. The smaller the value is the darker the image becomes. 0.0 means no change. The alpha channel of the source image is retained and copied 1:1.
SYNTAX:
newImg& = ModifyBrightness& (shan&, change#, minX%, minY%, maxX%, maxY%, mask&)
INPUTS:
change# (DOUBLE)
- The brightness adjustment, must be between -1.0 and 1.0 (clipped).
shan&, mask& (LONGs)
minX%, minY%, maxX%, maxY% (INTEGERs)
- See page Common Info.
RESULT:
newImg& (LONG)
- See page Common Info.