This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe ImageScaleToMaxDimension node resizes images to fit within a specified maximum dimension while maintaining the original aspect ratio. It calculates whether the image is portrait or landscape oriented, then scales the larger dimension to match the target size while proportionally adjusting the smaller dimension. The node supports multiple upscaling methods for different quality and performance requirements.
Upscaling
ImageScaleToMaxDimension - ComfyUI Built-in Node Documentation
Complete documentation for the ImageScaleToMaxDimension node in ComfyUI. Learn its inputs, outputs, parameters and usage.