ComfyUI > Nodes > ComfyUI-LogicUtils > Resize Scale Image

ComfyUI Node: Resize Scale Image

Class Name

ResizeScaleImageNode

Category
image
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LogicUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LogicUtils 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Resize Scale Image Description

Scales images up or down while maintaining aspect ratio and quality using resampling methods.

Resize Scale Image:

The ResizeScaleImageNode is designed to adjust the size of an image by scaling it up or down based on a specified scale factor. This node is particularly useful when you want to maintain the aspect ratio of an image while changing its dimensions. By leveraging different resampling methods, it ensures that the resized image retains as much quality as possible. This node is essential for tasks where image size needs to be modified without altering the original proportions, making it a valuable tool for AI artists who need to prepare images for various applications or outputs.

Resize Scale Image Input Parameters:

image

This parameter represents the input image that you want to resize. It is the source image that will be scaled according to the specified scale factor and resampling method. The image should be in a format that the node can process, typically a standard image file format.

scale

The scale parameter determines the factor by which the image dimensions will be multiplied. It must be a positive integer, with a default value of 2. A scale factor greater than 1 will enlarge the image, while a factor less than 1 will reduce its size. This parameter directly impacts the final size of the image, maintaining the original aspect ratio.

method

This parameter specifies the resampling method used during the resizing process. The available options are "NEAREST", "LANCZOS", and "BICUBIC". Each method offers a different approach to how pixel values are calculated in the resized image, affecting the quality and smoothness of the output. "NEAREST" is the simplest and fastest, "LANCZOS" provides high-quality results for photographic images, and "BICUBIC" offers a balance between speed and quality.

Resize Scale Image Output Parameters:

IMAGE

The output is the resized image, which has been scaled according to the specified scale factor and resampling method. This image retains the original aspect ratio but with dimensions adjusted as per the scale parameter. The quality of the output image is influenced by the chosen resampling method, ensuring that the resized image meets the desired specifications for further use or analysis.

Resize Scale Image Usage Tips:

  • Use the "LANCZOS" method for high-quality image enlargements, especially when dealing with photographic content.
  • When reducing image size, consider using the "BICUBIC" method to maintain smooth gradients and avoid pixelation.

Resize Scale Image Common Errors and Solutions:

Scale must be positive

  • Explanation: This error occurs when the scale parameter is set to a negative value or zero, which is not allowed.
  • Solution: Ensure that the scale parameter is a positive integer greater than zero to successfully resize the image.

Resize Scale Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LogicUtils
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 Models, enabling artists to harness the latest AI tools to create incredible art.