This node resizes images so that the shorter edge matches a specified length while preserving the original aspect ratio. It calculates new dimensions based on the target length for the shorter side and returns the resized image.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `image` | The input image to be resized. | IMAGE | Yes | - |
| `shorter_edge` | Target dimension for the shorter edge. (default: 512) | INT | Yes | 1 to 8192 |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `image` | The resized image with the shorter edge matching the specified target length. | IMAGE |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ResizeImagesByShorterEdge/en.md)

---
**Source fingerprint (SHA-256):** `6bb3e1c974108ee7b75b47406ea02b3f47ca14305f9ee54d3d379eefbb7f26cd`
