User Tools

Site Tools


image_adapter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

image_adapter [2023/12/18 13:46]
montse
image_adapter [2024/12/10 12:58] (current)
montse [Predefined functions (PF)]
Line 13: Line 13:
  
  
-===== Predefined functions ​(PF) =====+===== Predefined functions =====
  
-  * **compareWithAnother**:​ compares the image of the adapter with another image. It has two input and one output parameter:\\ \\ +  * **compareWithAnother**:​ compares the image of the adapter with another image. It has two input and one output parameter:
       * **ImageToCompare**:​ path of the image to compare. This is mandatory.       * **ImageToCompare**:​ path of the image to compare. This is mandatory.
       * **ResultPath**:​ path to the folder to leave the result. This is optional. If empty, the resulting image Will be in the TCD path. The new image will be an image with red rectangles marking the difference between images.       * **ResultPath**:​ path to the folder to leave the result. This is optional. If empty, the resulting image Will be in the TCD path. The new image will be an image with red rectangles marking the difference between images.
       * **DifferencePercent**:​ output parameter. It is a double data type and gives information about the percentage difference.\\ \\       * **DifferencePercent**:​ output parameter. It is a double data type and gives information about the percentage difference.\\ \\
  
-  * **Resize**: ​Allows ​you to reasize an image. It has three input parameters: ​+  * **Resize**: ​allows ​you to reasize an image. It has three input parameters: ​
       * **ImageToTransform**:​ path of the image to transform. This is optional. If the user does not enter a path, TAST uses the path of the image adapter.       * **ImageToTransform**:​ path of the image to transform. This is optional. If the user does not enter a path, TAST uses the path of the image adapter.
       * **Scale**: is mandatory, if the number is positive, it enlarges the image. If it is a negative number, it reduces the image.       * **Scale**: is mandatory, if the number is positive, it enlarges the image. If it is a negative number, it reduces the image.
image_adapter.1702907178.txt.gz ยท Last modified: 2023/12/18 13:46 by montse