Crop

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command will flip the given image horizontally or vertically. The command is an Image command. '''Input Image File:''' The input image being flipped. '''Output Ima...")
 
 
Line 1: Line 1:
This command will flip the given image horizontally or vertically.
+
This command will crop the image and resize the results.
  
 
The command is an [[Image]] command.
 
The command is an [[Image]] command.
  
'''Input Image File:''' The input image being flipped.
+
'''Input Image File:''' The input image being cropped.
  
'''Output Image File:''' The resulting flipped image.
+
'''Output Image File:''' The resulting cropped image.
  
 
'''Origin X:''' Determines the section of the image being cropped on the x axis.
 
'''Origin X:''' Determines the section of the image being cropped on the x axis.

Latest revision as of 19:15, 28 June 2017

This command will crop the image and resize the results.

The command is an Image command.

Input Image File: The input image being cropped.

Output Image File: The resulting cropped image.

Origin X: Determines the section of the image being cropped on the x axis.

Origin Y: Determines the section of the image being cropped on the y axis.

Size Width: The width of the resulting cropped image.

Size Height: The height of the resulting cropped image.

[edit] Example


crop("C:\\Users\\Downloads\\Capture.JPG","C:\\Users\\Downloads\\Capture cropped.jpg",390,290,390,290)


Running the script will crop the image at the specified dimension and size.


Capture cropped.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox