Overview
Sources
Libraries
Images API

Watermark Repeat watermark-repeat

Enables watermark repetition over source image.

If watermark-position is not set a default left,top value will be used.

Values

  • true or 1: repeat watermark image over source image.
  • false or 0: will render watermark image only once without repetition.

The default value for this parameter is false.

Examples

Enabling watermark image repetition with watermark-repeat=true will render the watermark many times over the source image:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-repeat=true
Woman posing in the nature with imglab logo applied as watermark and repeated forming a pattern with default left-top watermark position.
x px

Setting a different value for watermark-position to center,middle:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-repeat=true&watermark-position=center%2Cmiddle
Woman posing in the nature with imglab logo applied as watermark and repeated forming a pattern with center-middle watermark position.
x px

It's possible to use different watermark parameters with watermark-repeat=true to create a common watermark pattern over the source image.

In the following example we are rotating the watermark image with watermark-rotate=40, modifying alpha with watermark-alpha=50, scaling with watermark-scale=14 and using watermark-position=center,middle:

GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-repeat=true
Woman posing in the nature with imglab logo applied as watermark and repeated forming a pattern with rotation and alpha.
x px