Skip to main content

Watermark - Text

Uses the text "filespin" as a watermark, centered in the image with 100% opacity, navy blue color (00008B), and sans-serif font, scale of watermark is 70% of the ODI output size.

text_wm=filespin,center,center,100,12,00008B,sans,70

The complete URL would look like:- https://cdn.filespin.io/api/v1/assets/0c3c6d026858460abc4de1dcb4de15ac/conversions?resize=1200,1200&text_wm=filespin,center,center,100,12,00008B,sans,70

Simple Usage (Default Style)

To apply a watermark with default settings simply provide the text string.

text_wm=filespin

Parameters Reference

FieldTypeRequiredDefaultDescription
textstringYes-The watermark text (URL encoded). Max 500 characters.
xstring/intNocenterHorizontal position. Values: 0, left (left edge), center (center), 100, right (right edge)
ystring/intNocenterVertical position. Values: 0, top (top edge), center (center), 100, bottom (bottom edge)
alphaintNo100Opacity percentage. Range: 0-100 (0 = transparent, 100 = opaque)
sizeintNo24Font size in pixels. Range: 8-200. Ignored if w_ratio is set.
colorstringNoffffffText color as hex RGB (without #). Supports 3 or 6 digit hex.
fontstringNosansFont family: sans, serif, mono
w_ratiointNo-Scale watermark to percentage of image width. Range: 1-100. Overrides size - text is rendered at max quality and scaled proportionally.