Create blank image
From UBot Studio
(Difference between revisions)
(Created page with "This command will return a blank image fill, The command is an Image command. '''Input Image File:''' the image the ascii art will be created from. '''Output Image Fil...") |
m (LillyT moved page CreateBlankImage to Create blank image) |
||
(2 intermediate revisions by one user not shown) | |||
Line 3: | Line 3: | ||
The command is an [[Image]] command. | The command is an [[Image]] command. | ||
− | ''' | + | '''Output Image File:''' The blank image being created. |
− | ''' | + | '''Width:''' The width of the blank image |
− | ''' | + | '''Height:''' The height of the blank image |
+ | |||
+ | '''Background Color:''' The background color of the blank image. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | + | create blank image("C:\\Users\\Downloads\\myblankimg.jpg",400,560,"red") | |
− | + | ||
</pre> | </pre> | ||
− | Running the script | + | Running the script output a blank image file with a red background at the width and height specified. |
+ | |||
+ | [[File:myblankimg.jpg]] |
Latest revision as of 18:07, 13 November 2017
This command will return a blank image fill,
The command is an Image command.
Output Image File: The blank image being created.
Width: The width of the blank image
Height: The height of the blank image
Background Color: The background color of the blank image.
[edit] Example
create blank image("C:\\Users\\Downloads\\myblankimg.jpg",400,560,"red")
Running the script output a blank image file with a red background at the width and height specified.