d176111ffd3e8fbc1a560987ae780eeffadf1c16
Signed-off-by: SEKiN <112916323+SEkINVR@users.noreply.github.com>
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
Installation
- Clone this repository into your ComfyUI's
custom_nodesdirectory:
git clone https://github.com/SEkINVR/ComfyUI-SaveAs.git
- Install the required dependencies:
pip install -r requirements.txt
Requirements
This custom node requires the following Python packages:
- Pillow >= 9.0.0
- numpy >= 1.20.0
Usage
- In ComfyUI, you'll find a new node called "Save As" under the "image/io" category.
- Connect an image output to this node.
- Choose your desired format and settings.
- Run the workflow to save your image and generate a preview.
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%