This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThis node resizes images by adjusting their dimensions so that the length of the shorter side matches a specified target value. It calculates new dimensions to maintain the original image’s aspect ratio. The resized image is returned.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
image | IMAGE | Yes | - | The input image to be resized. |
shorter_edge | INT | No | 1 to 8192 | Target length for the shorter edge. (default: 512) |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
image | IMAGE | The resized image. |