Cloudimage - Documentation

Text watermark

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




use watermarkwat=1
watermark textwat_text=X
watermark positionwat_gravity=X
X = [north-south][east-west]
watermark paddingwat_pad=X[p][,Y[p]]
X,Y - in pixels
Xp,Yp - in percent
watermark opacitywat_opacity=X
X = 0..1
watermark font familywat_font=X
the full list of available fonts can be found here
watermark text colourwat_colour=X | wat_color=X
X - hexadecimal code or colour name
watermark font sizewat_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.