ea4de35fa434ce8928bd743dea46aba5f210bf54
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
- Supports PNG, JPG, WEBP, ICO, GIF, BMP, and TIFF formats
- ICO size presets
- Preview of saved image and filenames
- Customize quality for supported formats
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
Node>
ComfyUI-SaveAs/
│
├── __init__.py
├── ComfyUISaveAs.py
├── README.md
├── requirements.txt (if needed)
├── install.sh
├── update.sh
└── examples/ (optional)
└── example_workflow.png
Languages
Python
77.9%
Shell
22.1%