Add text to image

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(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:'...")
 
Line 21: Line 21:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
addTextToImage("C:\\Users\\Downloads\\Capture.JPG","Follow Me!","C:\\Users\\Downloads\\follow.jpg","Roboto",48,"Blue",430,370)
+
add text to image("C:\\Users\\Downloads\\Capture.JPG","Follow Me!","C:\\Users\\Downloads\\follow.jpg","Roboto",48,"Blue",430,370)
  
 
</pre>
 
</pre>

Revision as of 16:05, 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.

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.


Follow.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox