Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-xiaozhuguang > 小珠光图像加载器

ComfyUI Node: 小珠光图像加载器

Class Name

XiaozhuguangImageLoader

Category
xiaozhuguang
Author
xiaozhuguang (Account age: 36days)
Extension
ComfyUI-xiaozhuguang
Latest Updated
2026-08-05
Github Stars
0.04K

How to Install ComfyUI-xiaozhuguang

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

小珠光图像加载器 Description

Specialized node for efficient image loading, processing, resizing, and mask alignment in computational frameworks.

小珠光图像加载器:

The XiaozhuguangImageLoader is a specialized node designed to facilitate the loading and processing of images within a computational framework. Its primary purpose is to handle image data efficiently, allowing for batch processing and individual image handling. This node is particularly beneficial for AI artists who need to manage multiple images simultaneously, as it supports both batch and list modes. The node is capable of resizing images to match a specified maximum height and width, ensuring consistency across different image inputs. Additionally, it provides functionality for decoding and aligning masks with the corresponding images, which is crucial for tasks that involve image segmentation or masking. By automating these processes, the XiaozhuguangImageLoader streamlines workflows and enhances productivity for users working with large datasets or complex image manipulations.

小珠光图像加载器 Input Parameters:

image_list

The image_list parameter is a string that contains the names of the images to be loaded, separated by newlines. This parameter is crucial as it determines which images will be processed by the node. If the list is empty or improperly formatted, no images will be loaded, which can affect the node's output. Ensure that each image name is correctly specified and accessible in the designated directory.

index

The index parameter is an integer that specifies the position of the image to be processed in list mode. It ranges from 0 to 999999, with a default value of 0. This parameter is important when you want to focus on a specific image within a list, allowing for targeted processing and analysis.

batch_mode

The batch_mode parameter is a boolean that determines whether images should be processed in batch mode or individually. The default value is True, which means images will be processed together as a batch. This mode is useful for operations that require uniformity across multiple images, such as resizing or applying a common mask.

unique_id

The unique_id parameter is a hidden string used internally to uniquely identify the processing session. It is not typically modified by the user but is essential for maintaining session integrity and ensuring that operations are correctly associated with the right data.

mask_data

The mask_data parameter is a string that contains encoded mask information. This data is used to apply masks to images, which can be crucial for tasks involving image segmentation. If no mask data is provided, the node will default to using a full black mask, indicating no masking.

upload_mode

The upload_mode parameter is a string that determines how images are uploaded. It can be set to "append" for multiple images or "replace" for a single image. This setting affects how new images are integrated into the existing dataset, allowing for flexible data management.

小珠光图像加载器 Output Parameters:

IMAGE

The IMAGE output parameter represents the processed images. These images have been loaded, potentially resized, and prepared for further processing or analysis. This output is crucial for any subsequent operations that require image data, such as neural network input or visualization.

MASK

The MASK output parameter provides the decoded mask data aligned with the images. This mask is essential for tasks that involve distinguishing between different regions of an image, such as object detection or segmentation. The mask output ensures that any masking operations are accurately applied to the corresponding images.

小珠光图像加载器 Usage Tips:

  • Ensure that the image_list parameter is correctly formatted with valid image names to avoid loading errors.
  • Use batch_mode when processing multiple images that require consistent operations, such as resizing or masking.
  • Adjust the index parameter to focus on specific images when working in list mode, allowing for targeted analysis.

小珠光图像加载器 Common Errors and Solutions:

"path traversal"

  • Explanation: This error occurs when the specified file path attempts to access directories outside the designated output directory, which is a security risk.
  • Solution: Ensure that all file paths are correctly specified and do not include any directory traversal characters like ../.

"not found"

  • Explanation: This error indicates that the specified image file could not be located in the output directory.
  • Solution: Verify that the image file exists in the specified directory and that the file name is correctly spelled and formatted.

"遮罩解码失败" (Mask decoding failed)

  • Explanation: This error occurs when the mask data cannot be decoded, possibly due to incorrect formatting or corrupted data.
  • Solution: Check the mask data for correct encoding and ensure it matches the expected format. If necessary, regenerate the mask data.

小珠光图像加载器 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-xiaozhuguang
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 Models, enabling artists to harness the latest AI tools to create incredible art.

小珠光图像加载器