Image Object
The Image object provides functionality for manipulating image files of PNG, JPG, JPEG, TIF, and TIFF format.
The object is found under Variables > > Complex variable > Image Objects > Image.
Functions
Function |
Return Value |
Description |
---|---|---|
Clean | None | Cleans the image file. |
Close | None | Closes the image file. |
Copy to Clipboard | None | Copies the image to the clipboard. |
Create Copy | Image | Creates a copy of the image. |
Crop | None | Crops the image (top, left, right, bottom). |
Detect Stamps | List of Image | Detect stamps and returns a list of images. The Stamp Shape can be circle, ellipse or rectangle. The Approximation Method is either identification (for stamps with clearly defined closed borders, without gaps, no intersecting lines and texts), inscribing (for stamps with a closed and convex shape and intersecting texts and signatures), or enclosing (for stamps with gaps, intersecting lines and text). |
Detect Stamps by Template | List of Image | Detect stamps by template and returns a list of images. The template is a small image to be found in the main image. The Stamp Shape can be circle, ellipse or rectangle. The Approximation Method is either identification (for stamps with clearly defined closed borders, without gaps, no intersecting lines and texts), inscribing (for stamps with a closed and convex shape and intersecting texts and signatures), or enclosing (for stamps with gaps, intersecting lines and text). |
Detect Stamps Rectangles | List of ScreenElement Rectangle | Detect stamps and returns a list of screen element rectangles. The Stamp Shape can be circle, ellipse or rectangle. The Approximation Method is either identification (for stamps with clearly defined closed borders, without gaps, no intersecting lines and texts), inscribing (for stamps with a closed and convex shape and intersecting texts and signatures), or enclosing (for stamps with gaps, intersecting lines and text). |
Detect Stamps Rectangles by Template | List of ScreenElement Rectangle | Detect stamps by template and returns a list of screen element rectangles. The template is a small image to be found in the main image. The Stamp Shape can be circle, ellipse or rectangle. The Approximation Method is either identification (for stamps with clearly defined closed borders, without gaps, no intersecting lines and texts), inscribing (for stamps with a closed and convex shape and intersecting texts and signatures), or enclosing (for stamps with gaps, intersecting lines and text). |
Determine Brightness | Decimal | Determines the brightness of the part of the image (defined by the left, top, width and height). |
Fill Rectangle | None | Fills part of the image with the specified color (defined by the left, top, width and height). |
Find Pattern | Screen Element Rectangle | Finds the screen element rectangle with the pattern in the specified image. This function does not appear in the Monitor as it has a complex return type. |
Flip Horizontal | None | Flips the image horizontally. |
Flip Vertical | None | Flips the image vertically. |
Get Pixel Color | Color | Gets the pixel color (specified by the X and Y) |
Get Text Area | Screen Element Rectangle | Returns a rectangle containing text. |
Insert Image | None | Inserts the image at the X and Y location. |
Invert | None | Inverts the image. |
Load | Boolean | Loads the specified image (can be in png, jpg, jpeg, tif and tiff format). |
Load From Clipboard | Boolean | Loads the image from the clipboard. |
Make Black and White | None | Makes the image black and white. |
Make Grayscale | None | Makes the image grayscale. |
Resize | None | Resizes the image to the specified width and height. |
Rotate Left | None | Rotates the image left. |
Rotate Right | None | Rotates the image right. |
Save as | Boolean | Saves the file to the specified path. |
Straighten | None | Straightens the image. |