Create thumbnail

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command will create a thumbnail at the specified dimensions. The command is an Image command. '''Input Image File:''' The image the thumbnail will be created from....")
 
m (LillyT moved page CreateThumbnail to Create thumbnail)
 
(One intermediate revision by one user not shown)
Line 13: Line 13:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
createThumbnail("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\thumbCapture.JPG",180,90)
+
create thumbnail("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\thumbCapture.JPG",180,90)
  
 
</pre>
 
</pre>

Latest revision as of 16:16, 13 November 2017

This command will create a thumbnail at the specified dimensions.

The command is an Image command.

Input Image File: The image the thumbnail will be created from.

Output Image File: The resulting thumbnail file.

Width: The width of the thumbnail.

Height: The height of the thumbnail.

[edit] Example

create thumbnail("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\thumbCapture.JPG",180,90)


Running the script will rotate the input image by the set degree, adjust the canvas size and set a background color.

ThumbCapture.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox