This will strip the color information from the given image. The new image is still an 32-bit ARGB image, but all color channels are equalized to the same value, hence resulting into shades of gray. The alpha channel of the source image is retained and copied 1:1.
SYNTAX:
newImg& = MakeGrayscale& (shan&, minX%, minY%, maxX%, maxY%, mask&)
INPUTS:
shan&, mask& (LONGs)
minX%, minY%, maxX%, maxY% (INTEGERs)
- See page Common Info.
RESULT:
newImg& (LONG)
- See page Common Info.