back to Table of Contents


MakeNegative (function)

Makes the image into a photograph negative, hence all colors get inverted. The alpha channel of the source image is retained and copied 1:1.


SYNTAX:

newImg& = MakeNegative& (shan&, minX%, minY%, maxX%, maxY%, mask&)

INPUTS:

shan&, mask& (LONGs)

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


RESULT:

newImg& (LONG)


back to Table of Contents