ComfyUI > Nodes > noEmbryo nodes > Resolution Scale /noEmbryo

ComfyUI Node: Resolution Scale /noEmbryo

Class Name

Resolution Scale _noEmbryo

Category
noEmbryo
Author
noEmbryo (Account age: 2972days)
Extension
noEmbryo nodes
Latest Updated
2025-02-07
Github Stars
0.02K

How to Install noEmbryo nodes

Install this extension via the ComfyUI Manager by searching for noEmbryo nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter noEmbryo nodes 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 Scale /noEmbryo Description

Automatically adjust image resolution based on scale factor for AI artists, maintaining aspect ratio and quality.

Resolution Scale /noEmbryo:

The Resolution Scale _noEmbryo node is designed to dynamically adjust the resolution of an image based on a specified scale factor. This node is particularly useful for AI artists who need to resize images while maintaining their aspect ratio, ensuring that the final output is suitable for various applications, such as digital art, design, or printing. By automatically calculating the new dimensions, the node simplifies the process of scaling images, allowing you to focus on the creative aspects of your work. The node's primary goal is to provide a seamless and efficient way to modify image resolutions without compromising quality, making it an essential tool for any digital artist's workflow.

Resolution Scale /noEmbryo Input Parameters:

width

The width parameter specifies the desired width of the image. If set to zero, the node will automatically calculate the width based on the height and the original image's aspect ratio. This feature is particularly useful when you want to maintain the image's proportions while scaling. There are no explicit minimum or maximum values provided, but the width should be a positive integer.

height

The height parameter defines the desired height of the image. Similar to the width, if the height is set to zero, the node will compute the height based on the width and the original aspect ratio. This ensures that the image's proportions are preserved during scaling. The height should also be a positive integer.

scale_factor

The scale_factor is a crucial parameter that determines how much the image will be scaled. It is a multiplier applied to both the width and height to calculate the new dimensions. A scale factor greater than 1 will enlarge the image, while a value less than 1 will reduce its size. This parameter allows for precise control over the scaling process, enabling you to achieve the desired resolution.

image

The image parameter is an optional input that represents the image to be scaled. If provided, the node will use the image's original dimensions to calculate the new width and height based on the scale factor. This parameter is essential for ensuring that the scaling process is applied to the correct image.

Resolution Scale /noEmbryo Output Parameters:

new_width

The new_width output represents the calculated width of the image after applying the scale factor. This value is crucial for understanding the final dimensions of the scaled image and ensuring that it meets your specific requirements.

new_height

The new_height output indicates the calculated height of the image after scaling. Like the new width, this value helps you verify that the image's dimensions align with your intended design or application.

scale_factor

The scale_factor output simply returns the scale factor used in the scaling process. This output is useful for confirming that the correct scaling multiplier was applied to the image.

width

The width output provides the original or calculated width used as a basis for scaling. This value is important for reference and for understanding how the final dimensions were derived.

height

The height output gives the original or calculated height used in the scaling process. It serves as a reference point for the scaling operation and helps you track the changes made to the image's dimensions.

Resolution Scale /noEmbryo Usage Tips:

  • To maintain the aspect ratio of an image, set either the width or height to zero, allowing the node to automatically calculate the appropriate dimension based on the other value.
  • Use a scale factor greater than 1 to enlarge images for high-resolution outputs, or a scale factor less than 1 to reduce image size for web or thumbnail use.

Resolution Scale /noEmbryo Common Errors and Solutions:

Image not provided

  • Explanation: The node requires an image input to perform scaling operations.
  • Solution: Ensure that you provide a valid image input when using the node.

Invalid scale factor

  • Explanation: The scale factor must be a positive number to correctly scale the image.
  • Solution: Check that the scale factor is a positive value and adjust it accordingly.

Width or height set to negative value

  • Explanation: Negative values for width or height are not valid and will cause errors in the scaling process.
  • Solution: Ensure that both width and height are set to positive integers or zero for automatic calculation.

Resolution Scale /noEmbryo Related Nodes

Go back to the extension to check out more related nodes.
noEmbryo nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.