Specifies a number of pixels to be added as padding to the watermark image.
Values
This parameter accepts integer values in the range 0
to 500
with 0
disabling watermark padding.
-
1
: add 1
pixel of padding to the watermark image.
-
500
: add 500
pixels of padding to the watermark image.
The default value for this parameter is 5
, adding a padding of 5 pixels to the watermark image.
watermark-padding
sets the specified value to all edges of the watermark image. To set a value for one specific edge you can use the following parameters:
-
watermark-padding-top
-
watermark-padding-right
-
watermark-padding-bottom
-
watermark-padding-let
Examples
If no value is specified for watermark-padding
a default value of 5
is used:
GET
https://assets.imglab-cdn.net/woman-02.jpeg
It is possible to remove watermark padding using watermark-padding=0
:
GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-padding=0
For this example we are specifying a right watermark padding of 60
pixels with watermark-padding-right=60
:
GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-padding-right=60
In this example we are specifying a padding of 60
pixels with watermark-padding=60
parameter:
GET
https://assets.imglab-cdn.net/woman-02.jpeg?watermark-padding=60