Dynamic watermark
Dynamic (defined in URL) image overlay
Last updated
Dynamic (defined in URL) image overlay
Last updated
Copyright © 2023 Scaleflex
The dynamic watermark function allows you to specify the watermark image in the Cloudimage URL. This way, different watermarks can be used with different images.
Parameter | Syntax | Description |
---|---|---|
use watermark | wat=1 | (required) Activates the watermark function |
watermark URL | wat_url=X | (required) The URL of the watermark image. Can be URL-encoded |
watermark gravity | wat_gravity=X
| Defines the position to "anchor" the watermark to |
watermark scaling (relative to original watermark size) | wat_scale=X
| Watermark image scaling defined in in percent of the watermark dimensions |
watermark scaling (relative to output image size) | wat_scale=Xp
| Watermark image scaling defined in in percent of the output image dimensions |
watermark padding | wat_pad=X[p][,Y[p]]
| Adds padding from the anchoring point in pixels (X) or in percent (Xp) |
watermark position | wat_pos=X[,Y] | sets the position in percent from the resized image; works only with wat_gravity=absolute and wat_gravity=relative |
watermark opacity | wat_opacity=X
| Defines watermark opacity |