Visit ComfyUI Online for ready-to-use ComfyUI environment
Upscale images with specified scaling factor, maintaining aspect ratio and enhancing resolution for various purposes.
The ImageScaleBy
node is designed to upscale images by a specified scaling factor, allowing you to enhance the resolution of your images while maintaining their aspect ratio. This node is particularly useful for AI artists who need to increase the size of their images for printing, detailed viewing, or further processing without losing image quality. By leveraging various upscaling methods, ImageScaleBy
ensures that the upscaled images retain as much detail and clarity as possible. This node simplifies the process of image enlargement, making it accessible even to those without a technical background.
This parameter accepts the image you want to upscale. The image should be in a compatible format that the node can process.
This parameter determines 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"
provide smoother results by considering the values of surrounding pixels."area"
is good for downscaling but can be used for upscaling with a focus on preserving the average color."lanczos"
offers high-quality results by using a sinc function for interpolation.This parameter specifies the factor by which the image should be scaled. It is a floating-point value with a default of 1.0, a minimum of 0.01, and a maximum of 8.0. For example, a value of 2.0 will double the dimensions of the image, while a value of 0.5 will halve them.
The output is the upscaled image. This image will have its dimensions increased according to the specified scaling factor while maintaining the original aspect ratio. The quality of the upscaled image will depend on the chosen upscaling method.
"lanczos"
method when you need to upscale images significantly, as it provides the highest quality interpolation."nearest-exact"
can be a good choice due to its speed."nearest-exact"
, "bilinear"
, "area"
, "bicubic"
, or "lanczos"
.© Copyright 2024 RunComfy. All Rights Reserved.