Devesprit.ImageProcessor & Devesprit.ImageServer
Watermark

Description:

Adds a text based watermark to the current image with a wide range of options.

Parameters:

watermark The watermark text
color

The watermark text color in the following formats:

  • Hex
  • RGB
  • ARGB
  • Color name
fontsize The watermark text font size (pixel) (defaults to 48px)
fontstyle The watermark text style (bold , italic , regular , strikeout , underline)
fontopacity The opacity of the watermark text (1-100)
textposition The watermark position (x,y)
dropshadow It will drop a shadow under the watermark text when it is set to true
fontfamily The watermark text font family (e.g. arial)

Assembly:

Devesprit.ImageServer

Example:

http://your-host/images/picture?watermark=Test&color=fff&fontsize=36&fontstyle=italic&fontopacity=80&textposition=30,150&dropshadow=true&fontfamily=arial

Original

 

Result (http://your-host/images/picture?watermark=Devesprit.ImageServer&dropshadow=true&color=fff)