$ cnpm install @jimp/plugin-mask
mask an image with another image.
Masks a source image on to this image using average pixel colour. A completely black pixel on the mask will turn a pixel in the image completely transparent.
Copyright 2013 - present © cnpmjs.org | Home |