imgix APIs
Rendering API
Watermark Padding

Watermark Padding


Sets the number of pixels of padding between the watermark and the edge of the image. Value must be an integer. If no value is provided it will default to 5px. If mark-tile is specified, the value will also represent the number of pixels of padding between tiled watermark images and must be an integer of 0 or greater.

The edges where the padding is applied are determined by the alignment of the watermark, which can be changed using the mark-align parameter. If the mark-align parameter is unset, the padding will be applied on the bottom right of the watermark.

The following example has the parameter mark-align=top,right set: