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:'...") |
m (LillyT moved page AddTextToImage to Add text to image) |
||
(One intermediate revision by one user not shown) | |||
Line 21: | Line 21: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | + | add text to image("C:\\Users\\Downloads\\Capture.JPG","Follow Me!","C:\\Users\\Downloads\\follow.jpg","Roboto",48,"Blue",430,370) | |
</pre> | </pre> |
Latest revision as of 16:07, 13 November 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.
[edit] Example
add text to image("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.