Visit ComfyUI Online for ready-to-use ComfyUI environment
Resize images with various upscaling methods for AI artists, maintaining quality and detail.
The ImageScale
node is designed to resize images to specific dimensions using various upscaling methods. This node is particularly useful for AI artists who need to adjust the size of their images while maintaining quality. By offering multiple upscaling techniques, it ensures that the resized images retain as much detail and clarity as possible. Whether you need to upscale an image for printing, web use, or further processing, the ImageScale
node provides a flexible and efficient solution.
This parameter represents the input image that you want to resize. It is the primary data that the node will process.
This parameter allows you to choose the method used for upscaling the image. The available options are "nearest-exact", "bilinear", "area", "bicubic", and "lanczos". Each method has its own characteristics: "nearest-exact" is the simplest and fastest but may produce blocky results, "bilinear" and "bicubic" offer smoother results, "area" is good for downscaling, and "lanczos" provides high-quality results but is computationally intensive.
This parameter sets the desired width of the output image. The default value is 512, with a minimum of 0 and a maximum defined by MAX_RESOLUTION
. If set to 0, the width will be automatically calculated based on the height to maintain the aspect ratio.
This parameter sets the desired height of the output image. The default value is 512, with a minimum of 0 and a maximum defined by MAX_RESOLUTION
. If set to 0, the height will be automatically calculated based on the width to maintain the aspect ratio.
This parameter determines how the image should be cropped if the aspect ratio of the input image does not match the desired output dimensions. The options are "disabled" and "center". "Disabled" will not crop the image, while "center" will crop the image from the center to fit the desired dimensions.
The output is the resized image. This image will have the dimensions specified by the width and height parameters and will be processed using the selected upscaling method. The output image retains as much detail and quality as possible, depending on the chosen upscaling technique.
MAX_RESOLUTION
.© Copyright 2024 RunComfy. All Rights Reserved.