ComfyUI_ExtendedImageFormats

ComfyUI_ExtendedImageFormats
★ 6

图像格式扩展无元数据保存AVIF/JXL 支持工作流加载
为 ComfyUI 提供自定义节点,可保存为 webp、jpeg、avif、jxl(无元数据),并支持从图像加载工作流;可选安装 pillow-avif-plugin 与 jxlpy 扩展支持。
💡 在 ComfyUI 导出 webp/avif/jxl 并从图像恢复工作流。
🍴 5 Forks💻 Python🔄 2025-01-25
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📦 requirements.txt
jxlpy
pillow-avif-plugin
📄 README

Extended Image Formats for ComfyUI

Adds a custom node for saving images in webp, jpeg, avif, jxl (no metadata), DDS (external metadata) and supports loading workflows from saved images

Metadata is saved in UserComment(0x9286) field of Images,

Its formatted as

{
    "prompt": { Prompt data... }
    "workflow": { Workflow data... }
    "some_extra_pnginfo_field": {...}
}

Installation

Clone the repo inside your custom_nodes folder of ComfyUI

git clone https://github.com/kaanyalova/ComfyUI_ExtendedImageFormats

For avif support install pillow-avif-plugin, for jxl support install jxlpy to your venv

source ./venv/bin/activate
pip install pillow-avif-plugin jxlpy