Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for loading and processing multiple images from filenames, offering flexibility in processing order and transformations for image dataset management.
The LoadImagesByFilename
node is designed to load and process multiple images from a list of filenames. This node is particularly useful for AI artists who need to work with a batch of images, ensuring they are uniformly processed and ready for further manipulation or analysis. The node offers flexibility in terms of the number of images to load, the order in which they are processed, and whether the sequence should loop. It also handles image transformations to ensure consistency in format and quality, making it an essential tool for managing image datasets efficiently.
This parameter accepts a list of filenames that specify the images to be loaded. Each filename should be a valid path to an image file. The node will process these files based on the other parameters provided.
This integer parameter sets the maximum number of images to load from the provided list. If set to 0, all images in the list will be loaded. The default value is None
, meaning there is no limit unless specified.
An integer seed value used for randomizing the order of the images. This ensures reproducibility of the random shuffling. The default value is 0, with a minimum of 0 and a maximum of 100000.
A boolean parameter that determines whether the images should be sorted alphabetically by their filenames. The default value is False
.
A boolean parameter that, when set to True
, ensures the last image in the sequence is the same as the first image, effectively creating a loop. The default value is False
.
The output is a tensor containing the loaded and processed images. If multiple images are loaded, they are concatenated into a single tensor. Each image is converted to RGB format and normalized to a float32 array with values between 0 and 1.
seed
parameter when randomizing the order of images.sort
parameter to maintain a consistent order of images if the sequence is important for your project.loop_sequence
parameter to True
.max_num_images
parameter to limit the number of images processed, which can be useful for handling large datasets.filename
parameter is a non-empty list of valid image filenames.© Copyright 2024 RunComfy. All Rights Reserved.