Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This 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

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to be resized.
shorter_edgeINTNo1 to 8192Target length for the shorter edge. (default: 512)

Outputs

Output NameData TypeDescription
imageIMAGEThe resized image.