Resize Activity
The Resize activity enables users to adjust the dimensions of an image. It supports both enlarging and reducing an image to a specified size based on a proportional value.
| Field | Description | Requirement |
|---|---|---|
| Input image | Specifies the full path, file name, and extension of the image to be processed. | Required |
| Output image | Specifies the full path, file name, and extension for the processed output image. | Required |
| Proportion | Defines a numerical value to proportionally resize the image. | Optional |
Action Types & Examples
Proportion
- Format: Decimal Number
- Example Result:
1.25
Implementation Examples
Field Setup - Input image: C:\Robusta\robusta.jpg - Output image: C:\Robusta\grayscale.jpg - Proportion: 1.25
Execution Parameters - Input image: C:\Robusta\robusta.jpg - Output image: C:\Robusta\grayscale.jpg - Proportion: 1.25
Technical Notes
Ensure that the specified input image path is valid and accessible. The output directory must exist, or the activity may fail. The 'Proportion' value accepts decimal numbers; a value greater than 1 enlarges the image, while a value less than 1 reduces it. Supported image formats include common types like JPEG, PNG, and BMP.