ComfyUI > Nodes > ComfyUI-Addoor > 🌻 Load Image Advanced

ComfyUI Node: 🌻 Load Image Advanced

Class Name

AD_LoadImageAdvanced

Category
🌻 Addoor/Image
Author
ADDOOR (Account age: 2884days)
Extension
ComfyUI-Addoor
Latest Updated
2025-01-24
Github Stars
0.03K

How to Install ComfyUI-Addoor

Install this extension via the ComfyUI Manager by searching for ComfyUI-Addoor
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Addoor 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🌻 Load Image Advanced Description

Facilitates advanced image loading and processing in ComfyUI for AI artists, supporting RGB, RGBA, image sequences, orientation adjustment, pixel normalization, and mask generation.

🌻 Load Image Advanced:

The AD_LoadImageAdvanced node is designed to facilitate the advanced loading and processing of images within the ComfyUI framework. This node is particularly useful for AI artists who need to handle images with precision, as it supports both RGB and RGBA formats, allowing for the inclusion of alpha channels when necessary. The node efficiently processes image sequences, making it ideal for handling animations or multi-frame images. It automatically adjusts image orientation based on EXIF data and normalizes pixel values for compatibility with machine learning models. Additionally, it generates corresponding masks for images with alpha channels, which can be crucial for tasks involving transparency or compositing. By providing a streamlined method for loading and preparing images, AD_LoadImageAdvanced enhances workflow efficiency and ensures that images are ready for further processing or analysis.

🌻 Load Image Advanced Input Parameters:

image

The image parameter specifies the path to the image file you wish to load. This parameter is crucial as it determines which image will be processed by the node. The image file should be located within the designated input directory, and the path should be relative to this directory. The node supports a variety of image formats, making it versatile for different use cases.

strip_extension

The strip_extension parameter is a boolean option that determines whether the file extension should be removed from the image filename in the output. When set to True, the node will return the filename without its extension, which can be useful for organizing or displaying filenames without clutter. The default value is True.

rgba

The rgba parameter is a boolean option that specifies whether the image should be processed in RGBA mode, which includes the alpha channel for transparency. When set to True, the node will convert the image to RGBA format, allowing for the handling of transparency in the image. This is particularly useful for tasks that require precise control over image layers and compositing. The default value is False.

🌻 Load Image Advanced Output Parameters:

IMAGE

The IMAGE output is a processed tensor representation of the loaded image. This output is crucial for further image processing tasks, as it provides a normalized and ready-to-use format for machine learning models. The tensor includes pixel values scaled between 0 and 1, ensuring compatibility with various AI frameworks.

MASK

The MASK output is a tensor that represents the alpha channel of the image, if available. This mask is essential for tasks involving transparency, as it allows for precise control over which parts of the image are visible or affected by subsequent operations. If the image does not contain an alpha channel, a default mask is provided.

FILENAME

The FILENAME output is a string that contains the name of the image file, with or without the extension based on the strip_extension parameter. This output is useful for tracking and organizing images, especially when dealing with large datasets or batch processing.

🌻 Load Image Advanced Usage Tips:

  • Ensure that your images are located in the correct input directory to avoid file path errors.
  • Use the rgba parameter to handle images with transparency, which is particularly useful for compositing tasks.
  • Set strip_extension to True if you prefer to work with filenames without extensions for cleaner data management.

🌻 Load Image Advanced Common Errors and Solutions:

Invalid image file: <filename>

  • Explanation: This error occurs when the specified image file cannot be found in the input directory.
  • Solution: Verify that the image file exists in the correct directory and that the path is correctly specified relative to the input directory.

Image file format not supported

  • Explanation: This error indicates that the image format is not supported by the node.
  • Solution: Convert the image to a supported format such as JPEG, PNG, or GIF before loading it with the node.

🌻 Load Image Advanced Related Nodes

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