Applies an alpha mask to the image using another image as the mask. This operation sets the alpha channel of the image based on the brightness of the mask image.
A new Image object with the alpha mask applied.
The image to use as the alpha mask.