Function: set_mask
--Usage--
> set_mask(image: image, mask: mask_image)
Make parts of an image (more) transparent using a mask.
Black areas in the mask make the image transparent, white areas stay opaque.
The images must have the same size.
--Parameters--
! Parameter Type Description
| @image@ [[type:image]] Image to apply the mask to
| @mask@ [[type:image]] Mask image.
--Examples--
> set_mask(image: "image1.png", mask: "image3.png") == [[Image]]
>>> set_mask(image:
, mask:
) ==
--See also--
| [[fun:set_alpha]] Change the transparency of an image.