Add text to image
From UBot Studio
(Difference between revisions)
(Created page with "This command will add text to an image at a specified position. The command is an Image command. '''Background Image:''' The image the text is being added to. '''Text:'...") |
Revision as of 19:26, 28 June 2017
This command will add text to an image at a specified position.
The command is an Image command.
Background Image: The image the text is being added to.
Text: The text being added to the background image.
Output Image File: The resulting image with the text added.
Font Family:The font family for the text.
Font Size: The font size of the text.
Text Color: The color of the text.
Position X: The position the text will be placed on the x axis.
Position Y: The position the text will be placed on the y axis.
Example
addTextToImage("C:\\Users\\Downloads\\Capture.JPG","Follow Me!","C:\\Users\\Downloads\\follow.jpg","Roboto",48,"Blue",430,370)
Running the script will add the text at the specified position.