This shows you the differences between two versions of the page.
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: | ||
Line 20: | Line 20: | ||
* **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. |