back to Table of Contents


ModifyBrightness (function)

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)

shan&, mask& (LONGs)

minX%, minY%, maxX%, maxY% (INTEGERs)


RESULT:

newImg& (LONG)


back to Table of Contents