Devesprit.ImageProcessor & Devesprit.ImageServer
Mask

Description:

Applies the given image mask to the current image. Any area containing transparency within 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.

Parameters:

mask

The desired image mask name.
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 (see Processing.Config).

mask.position The Position of the image mask layer

Assembly:

Devesprit.ImageServer

Example:

http://your-host/images/picture?mask=imagemask.png&mask.position=30,30

Original

 

 

Result (http://your-host/images/picture?mask=circle.png&mask.position=70,30)

See Also

Configuration