Cloudimage - Documentation

Text watermark

If you need to tag an image or add a reference number on an image, use the text watermark.




option syntax
use watermark wat=1
watermark text wat_text=X
watermark position wat_gravity=X
X = [north-south][east-west]
watermark padding wat_pad=X[p][,Y[p]]
X,Y - in pixels
Xp,Yp - in percent
watermark opacity wat_opacity=X
X = 0..1
watermark font family wat_font=X
the full list of available fonts can be found here
watermark text colour wat_colour=X | wat_color=X
X - hexadecimal code or colour name
watermark font size wat_fontsize=X
X - set exact font size
Xmax - set maximum font size

Limit font size

Instead of setting an exact font size, you can set a maximum font size. In this case, font size will be reduced if the watermark cannot fit in the image.