Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently scale image resolution by a specified factor while maintaining aspect ratio for creative projects.
The Resolution Multiply (JPS) node is designed to help you easily scale the resolution of your images by a specified factor. This node is particularly useful when you need to increase the dimensions of an image while maintaining its aspect ratio. By multiplying the width and height of the image by a given factor, you can quickly achieve the desired resolution for your creative projects. This node is ideal for AI artists who want to upscale their images for higher quality outputs or for preparing images for larger prints. The main goal of this node is to provide a straightforward and efficient way to adjust image resolutions without the need for complex calculations or manual adjustments.
The width
parameter specifies the initial width of the image in pixels. This value will be multiplied by the factor
to determine the new width of the image. The minimum value for this parameter is 256 pixels, the maximum value is 8192 pixels, and the default value is set to 1024 pixels. Adjusting this parameter allows you to set the base width of your image before scaling.
The height
parameter specifies the initial height of the image in pixels. Similar to the width
parameter, this value will be multiplied by the factor
to determine the new height of the image. The minimum value for this parameter is 256 pixels, the maximum value is 8192 pixels, and the default value is set to 1024 pixels. This parameter allows you to set the base height of your image before scaling.
The factor
parameter determines the multiplication factor by which the width and height of the image will be scaled. This parameter accepts integer values with a minimum of 1 and a maximum of 8, with a default value of 2. By adjusting this parameter, you can control how much the resolution of your image will be increased.
The width_resized
parameter represents the new width of the image after it has been scaled by the specified factor
. This output value is an integer and reflects the result of multiplying the original width
by the factor
. It is essential for understanding the new dimensions of your upscaled image.
The height_resized
parameter represents the new height of the image after it has been scaled by the specified factor
. This output value is an integer and reflects the result of multiplying the original height
by the factor
. It provides the new height dimension of your upscaled image.
factor
parameter to a higher value, keeping in mind the maximum limit of 8.width
and height
parameters are set according to the aspect ratio you want to maintain in the final upscaled image.width
or height
parameter is set outside the allowed range (256 to 8192 pixels).width
and height
values are within the specified range and adjust them accordingly.factor
parameter is set outside the allowed range (1 to 8).factor
value to be within the specified range to ensure proper scaling of the image resolution.© Copyright 2024 RunComfy. All Rights Reserved.