Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently load multiple images from a directory for AI artists, streamlining import process and saving time.
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.
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.
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.
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.
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.
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.
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.
images_directory
path is correct and accessible to avoid errors during the loading process.load_limit
parameter to manage system resources effectively, especially when dealing with large image datasets.start_index
to load images in batches, which can be helpful for iterative processing or when resuming work on a large dataset.<images_directory>
does not exist.png
, .jpg
, .jpeg
, .webp
, .bmp
, or .gif
.load_limit
to load fewer images at a time, or increase your system's available memory if possible.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.