Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-CustomNodeKit > 图像批次缩放

ComfyUI Node: 图像批次缩放

Class Name

ImageBatchResizeNode

Category
image
Author
user2318 (Account age: 2574days)
Extension
ComfyUI-CustomNodeKit
Latest Updated
2026-07-16
Github Stars
0.05K

How to Install ComfyUI-CustomNodeKit

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

图像批次缩放 Description

Efficiently resize batch images to specified dimensions, maintaining aspect ratio and visual integrity.

图像批次缩放:

The ImageBatchResizeNode is designed to efficiently resize a batch of images to a specified width and height, ensuring that the images are uniformly scaled to meet the desired dimensions. This node is particularly beneficial for processing large sets of images where consistent sizing is crucial, such as preparing images for machine learning models or creating uniform visual presentations. By supporting batch processing, it streamlines workflows and saves time, allowing you to handle multiple images simultaneously. The node also offers options to crop images in a way that maintains their aspect ratio, ensuring that the resized images do not appear distorted. This functionality is essential for maintaining the visual integrity of images while adapting them to specific size requirements.

图像批次缩放 Input Parameters:

width

The width parameter specifies the target width in pixels for the resized images. It determines the horizontal dimension to which all images in the batch will be scaled. The default value is 512 pixels, with a minimum value of 1 pixel. Adjusting this parameter allows you to control the width of the output images, ensuring they meet specific size requirements for your project.

height

The height parameter defines the target height in pixels for the resized images. It sets the vertical dimension for scaling all images in the batch. Like the width parameter, the default value is 512 pixels, with a minimum value of 1 pixel. By configuring this parameter, you can ensure that the output images have the desired height, which is crucial for maintaining consistency across your image set.

图像批次缩放 Output Parameters:

images

The images output parameter provides the batch of resized images. This output contains the processed images that have been scaled to the specified width and height, ensuring uniformity across the batch. The resized images are ready for further processing or use in applications that require images of a specific size. This output is essential for workflows that demand consistent image dimensions, such as data preprocessing for machine learning or creating cohesive visual content.

图像批次缩放 Usage Tips:

  • To maintain the aspect ratio of your images while resizing, consider using cropping options that the node provides, which can help avoid distortion.
  • When working with large batches of images, ensure that your system has sufficient memory resources to handle the processing efficiently.

图像批次缩放 Common Errors and Solutions:

Invalid input dimensions

  • Explanation: This error occurs when the specified width or height is set to a value less than the minimum allowed (1 pixel).
  • Solution: Ensure that both the width and height parameters are set to values greater than or equal to 1 pixel.

Output is None

  • Explanation: This issue arises when the input images are not valid or the batch is empty.
  • Solution: Verify that the input images are correctly loaded and that the batch contains valid image data before processing.

图像批次缩放 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CustomNodeKit
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.

图像批次缩放