Devesprit.ImageProcessor & Devesprit.ImageServer
Overlay

Description:

Adds an image overlay to the current image. If the overlay is larger than the image it will be resized to match the images dimensions.

Parameters:

overlay

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

This value is configurable (see Processing.Config).

overlay.position The Position of the image overlay
overlay.size The Size of the image overlay
overlay.opacity The Opacity of the image overlay (0-100)

Assembly:

Devesprit.ImageServer

Example:

http://your-host/images/picture?overlay=imageoverlay.png&overlay.position=30,30&overlay.size=100,100&overlay.opacity=50

Original

 

 

Result (http://your-host/images/picture?overlay=devesprit.png&overlay.opacity=90)

 

Result (http://your-host/images/picture?overlay=devesprit.png&overlay.opacity=90&overlay.position=30,30)

 

Result (http://your-host/images/picture?overlay=devesprit.png&overlay.opacity=90&overlay.position=10000,30)

 

Result (http://your-host/images/picture?overlay=devesprit.png&overlay.opacity=90&overlay.position=10000,10000)

 

Result (http://your-host/images/picture?overlay=devesprit.png&overlay.opacity=90&overlay.position=0,10000)