Mask

Applies the given image mask to the current image. Any area containing transparency withing the mask will be removed from the original image. If the mask is larger than the image it will be resized to match the images dimensions.

The image mask is called by name alone. It has to be a locally stored file which defaults to the location ~/images/imageprocessor/mask/. This value is configurable.

Requests are passed thus:

<!--Hue-->
http://your-image?mask=imagemask.png&amp;mask.position=30,30
    

Examples

Original

original image

Masked

image with mask applied