DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Add Text To Image
Writes a line of text onto the picture.
ID:
add-text-to-image
Category: Multimedia
Aliases: caption, label image, watermark, annotate
#
Arguments
Argument
Type
Default
Constraints
Text
string
""
Position
option
"Bottom left"
Top left, Top right, Bottom left, Bottom right, Centre
Size
number
3
Minimum: 1. Maximum: 20
Colour
option
"White"
White, Black, Red
Margin
number
8
Minimum: 0. Maximum: 200