Scale Image#
Scales the image to a specified size or by a specified percentage. It also allows changing the DPI of the image.
| Input Image | [Text] The name and path to the file with the image that needs to be processed. Supported formats:
|
| Output Image | [Text] The name and path to the file for saving the processed image. If the value is empty, the same file specified in the "Input Image" property will be used. Supported formats:
|
| Width | [Number] The new width of the image. If the value is not specified or is zero, and the "Proportional" property is enabled, the width of the image will change proportionally to the height. Otherwise, the width of the image will remain the same. |
| Height | [Number] The new height of the image. If the value is not specified or is zero, and the "Proportional" property is enabled, the height of the image will change proportionally to the width. Otherwise, the height of the image will remain the same. |
| Percentage | [Number] The percentage by which the image will be increased. It can be a negative number. |
| Resolution (DPI) | [Number] The new resolution (DPI) of the image. |
| Proportional | If enabled, the image will be resized proportionally. You can specify either the width or the height of the image for this property to work. |
| Stretch | When enabled, the image will be stretched to the new size. |
| Result | [Text] The name and path to the processed image file. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |