Watermark Action

The watermark modification applies an image overlay. You need to store your watermark image (png, gif, tiff) on an absolute path on the server. Then you can define a distance from the four borders in pixels (margin left, margin top, margin right, margin bottom). You can leave the margins empty. You must set the opacity (0.1 to 1) used for transparency and an aspect ratio - the ratio of the width of a shape to its height (e.g., 8:5, 16:10, and 1.6:1 are the same aspect ratio). 

Property

Value

Details

kind

WatermarkAction



watermarkFilePath

Send to support@picturepark.com to save on this path. 

The path does not need to be provided, only the file name, e.g., picturepark_logo_watermark.png.

Identifies the image to be used as a watermark.

marginLeft

Can be null, in Pixel

Margin to the left border of the image, in pixels.

marginTop

Can be null, in Pixel

Margin to the top of the image, in pixels.

marginRight

Can be null, in Pixel

Margin to the right border of the image, in pixels.

marginBottom

Can be null, in Pixel

Margin to the bottom of the image, in pixels.

opacity

A number in the range 0-100, although everything larger than 1 is no opacity at all

Choose a value between 0.1 and 0.9.

Scales the opacity of the watermark.

widthRatio

A number larger than 0, 0 is forbidden

e.g., 0.5 for half the size or 2 for double the size

Scales the watermark width according to the size of the final image. 

The widthRatio is used for orientation portrait. 

Use a square watermark file to ensure better-proportioned results. 

heightRatio

A number larger than 0, 0 is forbidden

e.g., 0.5 for half the size or 2 for double the size

Scales the watermark height according to the size of the final image.

The heightRatio is used for orientation landscape.  

Use a square watermark file to ensure better-proportioned results. 

Watermark Examples

There are no items with the selected labels at this time.