ComfyUI  >  Nodes  >  WAS Node Suite >  Load Image Batch

ComfyUI Node: Load Image Batch

Class Name

Load Image Batch

Category
WAS Suite/IO
Author
WASasquatch (Account age: 4688 days)
Extension
WAS Node Suite
Latest Updated
8/25/2024
Github Stars
1.1K

How to Install WAS Node Suite

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

Load Image Batch Description

Streamline loading multiple images from directory for AI art projects, manage and manipulate image data efficiently.

Load Image Batch:

The Load Image Batch node is designed to streamline the process of loading multiple images from a specified directory, making it easier for you to work with large sets of images in your AI art projects. This node allows you to specify a directory path and load images in batches, which can be particularly useful for tasks that require processing or analyzing multiple images simultaneously. By using this node, you can efficiently manage and manipulate image data, saving time and effort compared to loading images individually. The node supports various configurations to tailor the loading process to your specific needs, such as selecting image patterns, indexing, and output modes.

Load Image Batch Input Parameters:

path

The directory path where the images are located. This parameter specifies the location from which the images will be loaded. Ensure that the path is correctly specified to avoid errors in loading images.

pattern

The pattern to match the filenames of the images you want to load. By default, this is set to *, which means all files in the directory will be considered. You can use specific patterns to filter the images, such as *.jpg for JPEG images.

index

The starting index for loading images. This parameter allows you to specify from which image in the directory the loading should begin. The default value is 0, meaning the loading starts from the first image.

mode

The mode in which images are loaded. The default mode is "single_image", which loads images one by one. This parameter can be adjusted based on how you want to process the images, such as loading them in batches.

label

A label for the batch of images being loaded. This parameter helps in identifying and organizing the loaded images, especially when working with multiple batches. The default label is 'Batch 001'.

allow_RGBA_output

A boolean parameter that specifies whether to allow images with RGBA channels to be output. The default value is 'false', meaning only images with RGB channels will be processed unless this is set to 'true'.

filename_text_extension

A boolean parameter that determines whether to include the filename text extension in the output. The default value is 'true', which means the filename extensions will be included.

Load Image Batch Output Parameters:

IMAGE

The output is a batch of images loaded from the specified directory. This batch can be used for further processing, analysis, or manipulation in your AI art projects. The images are returned in a format that is compatible with other nodes in the workflow, ensuring seamless integration and efficient handling of image data.

Load Image Batch Usage Tips:

  • Ensure the directory path is correctly specified to avoid errors in loading images.
  • Use specific patterns to filter and load only the desired images, which can save processing time and resources.
  • Adjust the starting index if you need to skip a certain number of images in the directory.
  • Utilize the label parameter to organize and identify different batches of images, especially when working with multiple datasets.
  • Set allow_RGBA_output to 'true' if you need to work with images that have an alpha channel.

Load Image Batch Common Errors and Solutions:

"Directory not found"

  • Explanation: The specified directory path does not exist.
  • Solution: Verify that the directory path is correct and that it exists on your file system.

"No images found matching the pattern"

  • Explanation: No images in the directory match the specified pattern.
  • Solution: Check the pattern parameter to ensure it correctly matches the filenames of the images you want to load.

"Index out of range"

  • Explanation: The starting index is beyond the number of images available in the directory.
  • Solution: Adjust the index parameter to a value within the range of available images.

"Unsupported image format"

  • Explanation: The images in the directory are in a format that is not supported by the node.
  • Solution: Convert the images to a supported format such as JPEG or PNG before loading them.

"RGBA output not allowed"

  • Explanation: The images have an alpha channel, but allow_RGBA_output is set to 'false'.
  • Solution: Set allow_RGBA_output to 'true' if you need to process images with an alpha channel.

Load Image Batch Related Nodes

Go back to the extension to check out more related nodes.
WAS Node Suite
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.