2024-06-28 19:27:32 -07:00
2024-06-28 19:10:46 -07:00
2024-06-28 19:05:57 -07:00
2024-06-27 21:05:36 -07:00
2024-06-28 19:23:55 -07:00
2024-06-28 19:05:18 -07:00

ComfyUI Save Multi-Format Image Node

This custom node for ComfyUI allows you to save images in multiple formats, including PNG, JPG, WebP, and ICO.

Features

  • Save images in PNG, JPG, WebP, and ICO formats
  • Customize quality for supported formats
  • Specify multiple sizes for ICO files
  • Automatically saves ICO files to output/icon/icon.ico

To use this node:

  1. Connect your image output to this node.
  2. Set the filename_prefix as desired.
  3. Choose the format you want (png, jpg, webp, or ico).
  4. Set the quality for formats that support it.
  5. For ico format, specify the sizes in ico_sizes.
  6. Optionally, specify an output_dir if you want to save in a specific location.

Installation

  1. Clone this repository into your ComfyUI's custom_nodes directory:
 git clone https://github.com/SEkINVR/ComfyUI-Save-Multi-Format.git

Requirements

This custom node requires the following Python packages:

  • Pillow >= 9.0.0
  • numpy >= 1.20.0

These are usually already installed with ComfyUI, but if you encounter any issues, you can install them manually:

pip install -r requirements.txt
git add .gitignore requirements.txt
git commit -m "Add requirements.txt and .gitignore"
git push
S
Description
No description provided
Readme AGPL-3.0
167 KiB
Languages
Python 77.9%
Shell 22.1%