ComfyUI > Nodes > ComfyUI-YCNodes > Load Image Advanced

ComfyUI Node: Load Image Advanced

Class Name

ImageLoaderAdvanced

Category
YCNode/Image
Author
yichengup (Account age: 473days)
Extension
ComfyUI-YCNodes
Latest Updated
2025-06-03
Github Stars
0.02K

How to Install ComfyUI-YCNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-YCNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-YCNodes 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

Robust image loading and processing node for ComfyUI with advanced capabilities like frame handling, masks, and format conversion.

Load Image Advanced:

The ImageLoaderAdvanced node is designed to provide a robust and flexible solution for loading and processing images within the ComfyUI environment. This node is particularly beneficial for AI artists who require advanced image handling capabilities, such as loading images with multiple frames, applying masks, and ensuring consistent image dimensions. By leveraging the power of the Python Imaging Library (PIL) and other image processing tools, ImageLoaderAdvanced can handle a variety of image formats and apply transformations like EXIF transposition and conversion to RGB. It also supports the application of masks with adjustable strength and blur, making it a versatile tool for preparing images for further processing or analysis. The node's ability to validate image paths and handle errors gracefully ensures a smooth user experience, even when dealing with complex image sequences.

Load Image Advanced Input Parameters:

image

The image parameter specifies the path to the image file you wish to load. It is crucial for the node to locate and access the image data. The path must be valid and point to an existing file; otherwise, the node will raise an error. This parameter does not have a default value, as it is essential for the node's operation.

mask_mode

The mask_mode parameter determines how the node handles image masking. The default value is "alpha", which uses the alpha channel of the image for masking if available. This parameter allows you to specify different masking strategies, which can impact the final output by highlighting or obscuring certain parts of the image.

mask_blur

The mask_blur parameter controls the amount of Gaussian blur applied to the mask. It accepts a floating-point value, with a default of 0.0, meaning no blur is applied. Increasing this value will result in a softer mask, which can be useful for creating smooth transitions between masked and unmasked areas.

mask_strength

The mask_strength parameter adjusts the intensity of the mask applied to the image. It is a floating-point value with a default of 1.0, representing full strength. Lowering this value will reduce the mask's impact, allowing more of the underlying image to show through.

Load Image Advanced Output Parameters:

output_image

The output_image parameter is the processed image data, ready for further use in your workflow. It is typically a tensor representation of the image, with all frames concatenated if the image contains multiple frames. This output is crucial for subsequent processing steps, as it provides a consistent and standardized image format.

output_mask

The output_mask parameter provides the mask data associated with the image. Like output_image, it is usually a tensor, with masks for all frames concatenated if applicable. This output is essential for tasks that require selective processing or analysis of specific image regions.

Load Image Advanced Usage Tips:

  • Ensure that the image path provided is correct and the file exists to avoid errors during loading.
  • Experiment with mask_blur and mask_strength to achieve the desired masking effect, especially when working with images that require subtle transitions.
  • Use the node's ability to handle multiple frames to process animated images or image sequences efficiently.

Load Image Advanced Common Errors and Solutions:

Image file not found: <image_path>

  • Explanation: This error occurs when the specified image path does not point to an existing file.
  • Solution: Verify that the image path is correct and that the file exists at the specified location.

Error loading image <image>: <error_message>

  • Explanation: This error indicates a problem occurred while loading the image, possibly due to an unsupported format or corrupted file.
  • Solution: Check the image file for corruption and ensure it is in a supported format. If the issue persists, try converting the image to a different format.

Load Image Advanced Related Nodes

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