本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! 在 GitHub 上编辑
Image
ResizeImagesByLongerEdge - ComfyUI Built-in Node Documentation
Complete documentation for the ResizeImagesByLongerEdge node in ComfyUI. Learn its inputs, outputs, parameters and usage.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Complete documentation for the ResizeImagesByLongerEdge node in ComfyUI. Learn its inputs, outputs, parameters and usage.
本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! 在 GitHub 上编辑
| 参数 | 数据类型 | 必填 | 取值范围 | 描述 |
|---|---|---|---|---|
image | IMAGE | 是 | - | 需要调整尺寸的输入图像或图像批次。 |
longer_edge | INT | 否 | 1 - 8192 | 最长边的目标长度。较短边将按比例缩放。(默认值:1024) |
| 输出名称 | 数据类型 | 描述 |
|---|---|---|
image | IMAGE | 调整尺寸后的图像或图像批次。输出的图像数量与输入相同,每张图像的最长边均与指定的 longer_edge 长度匹配。 |