本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! 在 GitHub 上编辑此节点通过调整图像尺寸,使较短边的长度与指定的目标值匹配,从而实现图像缩放。它会计算新的尺寸以保持原始图像的宽高比,并返回缩放后的图像。
Image
ResizeImagesByShorterEdge - ComfyUI Built-in Node Documentation
Complete documentation for the ResizeImagesByShorterEdge node in ComfyUI. Learn its inputs, outputs, parameters and usage.