Visit ComfyUI Online for ready-to-use ComfyUI environment
Upscale images with adjustable width and height using scaling factors, multiple methods, and enforced multiples of 4 or 6.
The ImageScaleFactor _O
node is designed to upscale images by independently adjusting their width and height based on specified scaling factors. This node provides a flexible and efficient way to enhance image resolution, making it particularly useful for AI artists looking to improve the quality and detail of their images. By offering multiple upscale methods and cropping options, it ensures that the upscaling process can be tailored to meet specific artistic needs. The node also includes a toggle to enforce scaling factors that are multiples of 4 or 6, which can be beneficial for maintaining certain image properties.
This parameter represents the input image that you want to upscale. It is the primary data that the node processes to produce a higher resolution output.
This parameter allows you to choose the method used for upscaling the image. The available options are "nearest-exact"
, "bilinear"
, and "area"
. Each method has its own characteristics: "nearest-exact"
is fast and simple but may produce blocky results, "bilinear"
offers smoother transitions but can blur details, and "area"
is a compromise between speed and quality.
This parameter specifies the factor by which the width of the image will be scaled. It accepts a floating-point value with a default of 1.25, a minimum of 0.0, and a maximum of 10.0. Adjusting this factor allows you to control the horizontal scaling of the image.
This parameter specifies the factor by which the height of the image will be scaled. Similar to WidthFactor, it accepts a floating-point value with a default of 1.25, a minimum of 0.0, and a maximum of 10.0. This allows you to control the vertical scaling of the image.
This toggle parameter determines whether the scaling factors should be enforced as multiples of 4 or 6. The options are "enabled"
and "disabled"
, with the default being "enabled"
. Enabling this can help maintain certain image properties that are beneficial for further processing.
This parameter specifies the cropping method to be used after upscaling. The available options are "disabled"
and "center"
. "disabled"
means no cropping will be applied, while "center"
will crop the image to keep the central part, which can be useful for maintaining focus on the main subject.
The output of this node is the upscaled image. This image will have its width and height adjusted according to the specified scaling factors and will be processed using the chosen upscaling method and cropping option. The result is a higher resolution image that retains the desired properties and details.
MulOf46
toggle to ensure that the scaling factors are multiples of 4 or 6, which can be particularly useful if the image will undergo further processing."center"
crop method can help maintain focus on the subject after upscaling."nearest-exact"
, "bilinear"
, or "area"
.© Copyright 2024 RunComfy. All Rights Reserved.