ComfyUI > Nodes > CRT-Nodes > Load Image Resize (CRT)

ComfyUI Node: Load Image Resize (CRT)

Class Name

LoadImageResize

Category
CRT/Load
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

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

Load Image Resize (CRT) Description

LoadImageResize node loads and resizes images, preserving aspect ratio, using Lanczos interpolation.

Load Image Resize (CRT):

The LoadImageResize node is designed to streamline the process of loading and resizing images while maintaining their aspect ratio. This node is particularly beneficial for AI artists who need to prepare images for further processing or analysis. By automatically adjusting the dimensions of an image so that its longer side matches a specified size, the node ensures that the image's proportions are preserved, which is crucial for maintaining visual integrity. Additionally, the node offers the flexibility to apply a multiple_of constraint, which can be useful for ensuring that the resized dimensions are compatible with specific requirements or constraints of subsequent processing steps. The use of Lanczos interpolation for resizing ensures high-quality results, making this node an essential tool for anyone looking to efficiently manage image dimensions in their workflow.

Load Image Resize (CRT) Input Parameters:

image

This parameter represents the image to be loaded and resized. It is crucial as it serves as the primary input for the node's operations. The image should be in a format that can be processed by the node, excluding formats like 'MPO'. The node will handle the conversion and resizing of this image to meet the specified size requirements.

size

The size parameter determines the target length for the longer side of the image. This parameter is essential for defining the final dimensions of the resized image while preserving its aspect ratio. The node calculates the appropriate dimensions based on this size, ensuring that the image's proportions remain intact.

multiple_of

This optional parameter allows you to specify a constraint for the resized dimensions, ensuring that both the width and height are multiples of a given number. This can be particularly useful when the resized image needs to meet specific requirements for further processing. If set to a value greater than 1, the node will adjust the dimensions accordingly.

Load Image Resize (CRT) Output Parameters:

output_image

The output_image parameter provides the resized image as a result of the node's processing. This image maintains the original aspect ratio and is resized according to the specified size and multiple_of constraints. It is ready for further use in your workflow, ensuring compatibility with subsequent processing steps.

output_mask

The output_mask parameter outputs a mask associated with the resized image. This mask is particularly useful for identifying transparent areas within the image, which can be important for tasks that require precise image manipulation or analysis. The mask is generated based on the alpha channel or transparency information present in the original image.

Load Image Resize (CRT) Usage Tips:

  • Ensure that the input image is in a compatible format, as certain formats like 'MPO' are excluded from processing.
  • Utilize the multiple_of parameter to align the resized image dimensions with specific requirements, which can be crucial for certain applications or further processing steps.
  • Consider the target size carefully to maintain the desired level of detail and quality in the resized image.

Load Image Resize (CRT) Common Errors and Solutions:

Image format not supported

  • Explanation: The input image is in a format that is not supported by the node, such as 'MPO'.
  • Solution: Convert the image to a supported format like JPEG or PNG before using the node.

Dimension mismatch after resizing

  • Explanation: The resized image dimensions do not meet the multiple_of constraint.
  • Solution: Adjust the multiple_of parameter to ensure it aligns with the desired output dimensions, or verify that the input size allows for such adjustments.

Load Image Resize (CRT) Related Nodes

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