ComfyUI-Save16bitPng

ComfyUI-Save16bitPng
★ 4

16位色深无压缩PNG元数据保存高质量输出
将图像以无压缩 ARGB16 精度保存为 PNG,可嵌入 prompts 与额外 PNG 元数据,适合需保留高质量与信息的工作流。
💡 保存高精度、带提示词与元数据的 PNG 图像。
🍴 1 Forks💻 Python🔄 2024-12-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/c73fe210bae7
📦 requirements.txt
OpenEXR
Imath
📄 README

Save Uncompressed 16 Bit PNG

This is a custom node for the Comfy UI stable diffusion client.

Description

The SaveImageARGB16PNG node provides functionality for saving images as uncompressed PNG files with ARGB16 precision.

This node is particularly useful for workflows that require high-quality image saving with metadata such as prompts and additional PNG info.

Inputs

  • images: A tensor of images to be saved. Each image is expected to be in a format compatible with ARGB16.
  • filename_prefix: A string used as the prefix for the saved filenames. This can include dynamic formatting options.
  • prompt (optional): Metadata to embed in the PNG file.
  • extra_pnginfo (optional): Additional metadata to include in the PNG file as key-value pairs.
  • Outputs

  • Saves images to the Comfy UI output directory with metadata embedded in the PNG files.
  • Returns a UI-compatible dictionary containing details about the saved images.
  • Getting Started

    Import this script into the custom nodes directory of your Comfy UI client.

    Dependencies

  • ComfyUI
  • Pillow (for PNG processing)
  • License

    This project is licensed under the MIT License.