Watermark

Watermark JPEG and PNG images

POST /watermark/image

Request

Parameter Description Type Required Default
file Image file Binary Yes
text Watermark text String Yes
font Text font String No dancing_script
size Text size No Number 16
color Text color No String #FFF
opacity Watermark opacity No Number 50
position Watermark position No String bottom_left
margin Watermark margin No Number 50

Font values

  • courgette
  • dancing_script
  • kalam

Position values

  • top_left
  • top_center
  • top_right
  • bottom_right
  • bottom_center
  • bottom_left
  • center

Response

Parameter Description Type
id File id String
name File name String
size File size String
url Download URL String

File id can be used to download the file using download API.

© 2018 LabStack. All Rights Reserved.