Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe Resize Images by Longer Edge node resizes one or more images so that their longest side matches a specified target length. It automatically determines whether the width or height is longer and scales the other dimension proportionally to preserve the original aspect ratio. This node is deprecated and superseded by the Resize Image/Mask node with the resize type set to “scale longer dimension”.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
image | IMAGE | Yes | - | The input image or batch of images to be resized. |
longer_edge | INT | Yes | 1 - 8192 | Target dimension for the longer edge. The shorter edge will be scaled proportionally. (default: 1024) |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
image | IMAGE | The resized image or batch of images. The output will have the same number of images as the input, with each one’s longer edge matching the specified longer_edge length. |
Source fingerprint (SHA-256):
bf66808acbc654d5a9ea58b062b5b89d6c13dbec0929d6d92aaa3c8914dcece0