Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently load and process multiple images from a directory for AI art workflow, supporting various formats and automating tasks.
The Load Image List From Dir (Inspire) node is designed to streamline the process of loading multiple images from a specified directory into your AI art workflow. This node is particularly useful for artists who need to batch process images, as it allows you to load a list of images efficiently while ensuring compatibility with various image formats such as .jpg
, .jpeg
, .png
, and .webp
. By leveraging this node, you can automate the image loading process, saving time and reducing manual effort. The node also handles image orientation corrections and converts images to a suitable format for further processing, making it an essential tool for managing large image datasets.
The directory parameter specifies the path to the folder containing the images you wish to load. This parameter is crucial as it directs the node to the correct location of your image files. Ensure that the directory path is accurate and accessible to avoid errors. There is no default value for this parameter, and it must be provided by the user.
The image_load_cap parameter sets a limit on the number of images to load from the specified directory. This is useful when you only need to process a subset of images from a large collection. The default value is 0, which means there is no limit, and all images in the directory will be loaded. You can set this to any positive integer to restrict the number of images loaded.
The start_index parameter determines the starting point in the directory's file list from which images will begin to load. This is helpful if you want to skip a certain number of images at the beginning of the directory. The default value is 0, meaning the loading will start from the first image in the directory.
The load_always parameter is a boolean flag that, when set to True, forces the node to load images even if certain conditions are not met. This can be useful in scenarios where you want to ensure images are loaded regardless of other settings or constraints. The default value is False.
The images output parameter is a list of loaded images in a format suitable for further processing in your AI art workflow. Each image is converted to an RGB format and normalized to a float32 array, making it ready for use in various image processing tasks.
The masks output parameter is a list of corresponding masks for the loaded images. If an image contains an alpha channel, the mask will represent the transparency information. If no alpha channel is present, a default mask of zeros will be provided. These masks can be used for tasks that require image segmentation or masking.
.jpg
, .jpeg
, .png
, and .webp
.© Copyright 2024 RunComfy. All Rights Reserved.