Nodes Browser

ComfyDeploy: How Extended Image Formats for ComfyUI works in ComfyUI?

What is Extended Image Formats for ComfyUI?

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

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Extended Image Formats for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Extended Image Formats for ComfyUI

Adds a custom node for saving images in webp, jpeg, avif, jxl (no 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