Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates image loading, processing, format conversion, and mask management for AI artists in ComfyUI.
The ImageLoader
node is designed to facilitate the loading and processing of images within the ComfyUI framework. This node is particularly useful for AI artists who need to import images into their workflows for further manipulation or analysis. The ImageLoader
node handles various image formats, ensuring that images are correctly oriented and converted to a suitable format for processing. It also manages image masks, which can be essential for tasks that require distinguishing between different regions of an image. By using this node, you can seamlessly integrate image loading into your creative projects, allowing for a smooth and efficient workflow.
The image
parameter specifies the path to the image file you wish to load. This parameter is crucial as it directs the node to the correct file location. The image can be in various formats, but certain formats like MPO are excluded from processing. The node will handle the image's orientation and convert it to an RGB format if necessary. There are no specific minimum or maximum values for this parameter, but it must be a valid file path.
The output_image
parameter provides the loaded and processed image as a tensor. This output is essential for subsequent nodes that will use the image for further processing or analysis. The image is normalized and converted to a float32 tensor, making it ready for use in various AI models and operations.
The output_mask
parameter provides the mask associated with the loaded image. This mask is useful for tasks that require distinguishing between different regions of the image, such as inpainting or segmentation. The mask is also provided as a tensor, ensuring compatibility with other nodes in the workflow.
© Copyright 2024 RunComfy. All Rights Reserved.