In this example, we will show you how to configure the watermark.
The asset that should be displayed as a watermark.
The string can be a URL to an external image, a relative path based on the assets folder, or a valid image baseURI.
Position the watermark inside the image area.
center the watermark corner will be placed in the corresponding corner of the image based on the
'top-left' will position the top left corner of the watermark in the top left corner of the image.
Inset the watermark by a relative amount of pixels.
The pixel amount is calculated by multiplying the
inset value with the smaller side of the cropped image.
e.g. specifying a value of 0.1 would mean an inset of 10px if the smallest side is 100px wide
Size of the watermark relative to the smaller image side.
The larger side of the watermark will be the same size as the smaller side of the cropped image multiplied by the
e.g. specifying a value of 0.25 would mean that the larger side of the watermark is 25px if the smallest side of the image is 100px wide