889d0799d8d480cdfa896f9ca2ab2aa4b69ebb35
ComfyUI-SaveAs
A custom node for ComfyUI that allows saving images and videos in multiple formats with a preview feature.
Supported Formats
- Images: PNG, JPG, WEBP, ICO, GIF, BMP, TIFF
- Videos: MP4, MOV
- Others: SVG, PDF, PSD, RAW
Features
- Save images in PNG, JPG, WebP, and ICO formats
- Customize quality for supported formats
- Specify multiple sizes for ICO files
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-SaveAs.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%