ce032e5261a4176352f1900b124e6dc310d187db
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:
- Connect your image output to this node.
- Set the filename_prefix as desired.
- Choose the format you want (png, jpg, webp, or ico).
- Set the quality for formats that support it.
- For ico format, specify the sizes in ico_sizes.
- Optionally, specify an output_dir if you want to save in a specific location.
Installation
- Clone this repository into your ComfyUI's
custom_nodesdirectory:
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
Languages
Python
77.9%
Shell
22.1%