ComfyUI > Nodes > JPS Custom Nodes for ComfyUI > Resolution Multiply (JPS)

ComfyUI Node: Resolution Multiply (JPS)

Class Name

Resolution Multiply (JPS)

Category
JPS Nodes/Math
Author
JPS (Account age: 370days)
Extension
JPS Custom Nodes for ComfyUI
Latest Updated
2024-05-22
Github Stars
0.04K

How to Install JPS Custom Nodes for ComfyUI

Install this extension via the ComfyUI Manager by searching for JPS Custom Nodes for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter JPS Custom Nodes for ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Resolution Multiply (JPS) Description

Efficiently scale image resolution by a specified factor while maintaining aspect ratio for creative projects.

Resolution Multiply (JPS):

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.

Resolution Multiply (JPS) Input Parameters:

width

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.

height

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.

factor

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.

Resolution Multiply (JPS) Output Parameters:

width_resized

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.

height_resized

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.

Resolution Multiply (JPS) Usage Tips:

  • To achieve a higher resolution for your images, set the factor parameter to a higher value, keeping in mind the maximum limit of 8.
  • Ensure that the initial width and height parameters are set according to the aspect ratio you want to maintain in the final upscaled image.
  • Use this node in combination with other image processing nodes to prepare your images for high-quality prints or detailed digital displays.

Resolution Multiply (JPS) Common Errors and Solutions:

Invalid width or height value

  • Explanation: The width or height parameter is set outside the allowed range (256 to 8192 pixels).
  • Solution: Ensure that the width and height values are within the specified range and adjust them accordingly.

Invalid factor value

  • Explanation: The factor parameter is set outside the allowed range (1 to 8).
  • Solution: Adjust the factor value to be within the specified range to ensure proper scaling of the image resolution.

Resolution Multiply (JPS) Related Nodes

Go back to the extension to check out more related nodes.
JPS Custom Nodes for ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.