ComfyUI > Nodes > ComfyUI-iTools > iTools Load Images 📦

ComfyUI Node: iTools Load Images 📦

Class Name

iToolsLoadImages

Category
iTools
Author
MohammadAboulEla (Account age: 1256days)
Extension
ComfyUI-iTools
Latest Updated
2025-02-08
Github Stars
0.04K

How to Install ComfyUI-iTools

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

iTools Load Images 📦 Description

Efficiently load multiple images from a directory for AI artists, streamlining import process and saving time.

iTools Load Images 📦:

The iToolsLoadImages node is designed to facilitate the efficient loading of multiple images from a specified directory, making it an essential tool for AI artists who work with large image datasets. This node streamlines the process of importing images by allowing you to specify a directory and control the number of images loaded, as well as the starting point within the directory. It supports a variety of common image formats, ensuring compatibility with most image collections. By automating the image loading process, iToolsLoadImages saves time and reduces the potential for manual errors, allowing you to focus more on creative tasks rather than technical setup.

iTools Load Images 📦 Input Parameters:

images_directory

This parameter specifies the directory path from which images will be loaded. It is crucial to provide a valid path to ensure the node can access the desired images. The directory should contain images in supported formats such as .png, .jpg, .jpeg, .webp, .bmp, and .gif. If the directory does not exist, the node will raise an error, so double-check the path for accuracy.

load_limit

The load_limit parameter determines the maximum number of images to load from the specified directory. This allows you to control the volume of data being processed, which can be particularly useful when working with large datasets or when system resources are limited. Setting an appropriate load limit can help optimize performance and prevent memory overload.

start_index

The start_index parameter specifies the index of the first image to load from the directory. This is useful for skipping a certain number of images at the beginning of the directory, allowing you to start loading from a specific point. This can be particularly beneficial when working with large datasets where you need to process images in batches or when resuming a previous session.

iTools Load Images 📦 Output Parameters:

images

This output parameter provides a list of loaded images in tensor format, ready for further processing or analysis. The images are converted to a format that is compatible with machine learning models, ensuring seamless integration into your workflow.

images_names

The images_names output returns a list of the names of the loaded images, excluding their file extensions. This can be useful for tracking and referencing images during subsequent processing steps or when generating reports.

count

The count output indicates the total number of images successfully loaded by the node. This provides a quick reference to verify that the expected number of images has been processed, helping you ensure that your data pipeline is functioning correctly.

iTools Load Images 📦 Usage Tips:

  • Ensure that the images_directory path is correct and accessible to avoid errors during the loading process.
  • Use the load_limit parameter to manage system resources effectively, especially when dealing with large image datasets.
  • Utilize the start_index to load images in batches, which can be helpful for iterative processing or when resuming work on a large dataset.

iTools Load Images 📦 Common Errors and Solutions:

FileNotFoundError: Image directory <images_directory> does not exist

  • Explanation: This error occurs when the specified directory path does not exist or is incorrect.
  • Solution: Double-check the directory path for typos or errors and ensure that the directory is accessible from your system.

Unsupported image format

  • Explanation: This error arises when the directory contains files that are not in the supported image formats.
  • Solution: Ensure that all images in the directory are in one of the supported formats: .png, .jpg, .jpeg, .webp, .bmp, or .gif.

MemoryError: Unable to load images

  • Explanation: This error can occur if the system runs out of memory while loading a large number of images.
  • Solution: Reduce the load_limit to load fewer images at a time, or increase your system's available memory if possible.

iTools Load Images 📦 Related Nodes

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