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

XiaozhuguangImageSave

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

Versatile node for saving and previewing images in ComfyUI, offering JPEG previews and PNG saves, beneficial for AI artists.

小珠光图像保存:

XiaozhuguangImageSave is a versatile node designed to facilitate the saving and previewing of images within the ComfyUI environment. It provides a seamless experience for users who need to manage image outputs efficiently, offering both compressed JPEG previews and full-resolution PNG saves. The node is particularly beneficial for AI artists who require a quick preview of their work while maintaining the ability to save high-quality images for final outputs. By utilizing lazy encoding, it ensures that the original pixel data is preserved and only encoded into PNG format when explicitly requested, optimizing both storage and processing efficiency. This node supports a flexible workflow by allowing users to toggle between save and preview modes, ensuring that images are either stored in a specified output directory or simply previewed without saving. The consistent naming convention and customizable output paths further enhance its utility, making it an essential tool for managing image outputs in AI art projects.

小珠光图像保存 Input Parameters:

images

This parameter accepts a list of images that you want to process. The images are expected to be in a tensor format, which is a common data structure used in machine learning for handling multi-dimensional data. The images parameter is crucial as it forms the core input that the node will process for saving or previewing.

output_path

The output_path parameter allows you to specify a custom directory where the saved images will be stored. By default, this is an empty string, meaning the images will be saved in the default output directory. This parameter is optional and provides flexibility in organizing your saved images according to your project needs.

save_format

This parameter determines the format in which the images will be saved. You can choose between "JPG" and "PNG", with "JPG" being the default option. Selecting "PNG" will save the images in a lossless format, preserving the highest quality, while "JPG" will save them in a compressed format, which is useful for reducing file size.

reduce_lag

The reduce_lag parameter is a boolean option that, when enabled, reduces the maximum side length of the images to 3840 pixels and sets the JPEG quality to 85. This is designed to optimize performance by reducing processing time and memory usage, especially useful when working with large images.

mode

This parameter allows you to switch between "保存" (save) and "预览" (preview) modes. In save mode, images are saved to the specified output directory, while in preview mode, images are only displayed without being saved. The default mode is "保存", making it suitable for finalizing outputs.

prompt

The prompt parameter is a hidden input that can be used to pass additional information or instructions to the node. It is not typically modified by the user and is used internally by the node for processing.

extra_pnginfo

Similar to the prompt, this hidden parameter allows for the inclusion of extra metadata or information in the PNG files. It is used internally and is not usually adjusted by the user.

小珠光图像保存 Output Parameters:

ui

The ui output parameter provides a structured dictionary containing information about the processed images. It includes details about the preview images and any saved files, such as filenames, subfolder paths, and image dimensions. This output is essential for understanding the results of the node's execution and for further processing or display within the ComfyUI environment.

小珠光图像保存 Usage Tips:

  • To optimize performance when working with large images, enable the reduce_lag option to decrease processing time and memory usage.
  • Use the output_path parameter to organize your saved images into specific directories, making it easier to manage and locate your files.
  • Switch to preview mode when you only need to view the images without saving them, which can save time and storage space.

小珠光图像保存 Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified output directory does not exist or cannot be accessed.
  • Solution: Ensure that the output_path is correctly specified and that the directory exists. You may need to create the directory manually if it does not exist.

ValueError: Invalid Image Format

  • Explanation: This error is raised when the images provided are not in a supported format or are corrupted.
  • Solution: Verify that the input images are in a valid tensor format and are not corrupted. You may need to reprocess or convert the images to the correct format.

MemoryError

  • Explanation: This error can occur when processing very large images without the reduce_lag option enabled, leading to excessive memory usage.
  • Solution: Enable the reduce_lag option to reduce the image size and memory usage, or ensure that your system has sufficient resources to handle large images.

小珠光图像保存 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.

小珠光图像保存