Save Image Advanced (JPG)
JPG saving with quality, DPI, EXIF, and a workflow that travels with it
- images
Save Image Advanced (JPG) is the version of this pack's JPG saver for people who care about the file, not just the pixels. Compared to the plain Save Image (JPG) - which is fixed at quality 95, 72 DPI, and no metadata - this one hands you quality, DPI, an EXIF metadata toggle, and a "copy to input folder" option. If you're exporting for a client, a print shop, a stock site, or anything where JPEG settings and embedded data matter, this is the node you want.
The headline difference from the simple node is metadata. Out of the box (Disable Metadata is off by default) it embeds an EXIF UserComment containing your workflow's prompt and graph data, using piexif. That's the classic ComfyUI "drag the image back to rebuild the graph" behavior, just in EXIF form for a format that has no native workflow slot. Flip Disable Metadata on and you get a clean JPG with nothing embedded - smaller, tidier, and safe to share without leaking your prompt stack.
The inputs that matter
- Quality (1–100, default 95) - the usual JPEG quality/detail tradeoff. 95 is heavy; 85–90 is the sweet spot for most sharing, and the file-size savings are real.
- DPI (1–600, default 300) - only meaningful for print. On screen it's just a tag, but a print shop will read it. 300 is the standard for print; leave it if you don't know why you'd change it.
- Disable Metadata - on = no EXIF, off = workflow embedded in
UserComment. Pick deliberately: sharing out? Consider on. Want portability? Off. - Save to Input Folder - mirrors the file into your input folder so another workflow can pick it up with a Load Image node. Niche but handy for chaining.
Only one input slot beyond those - Images - and no outputs. It's a terminal node. Filename Prefix supports the pack's token system (%date:yyyy-MM-dd%, %hour%, %minute%, %width%, %height%), with the right-click "Insert Filename Token" menu to build them.
What to watch out for
JPG is still JPG. No alpha channel - any transparency is flattened (typically against black), so do your background compositing before this node. It's also lossy by definition: repeated saves accumulate artifacts, so this should be the last step in your graph, not a staging format. And if you embed metadata, be aware the EXIF UserComment isn't as universally readable as PNG pnginfo - most image viewers show it fine, some don't surface it at all.
Install
Ships in ComfyUI-Image-Process:
cd ComfyUI/custom_nodes
git clone https://github.com/wakaura-asaho/comfyui-image-process
pip install -r comfyui-image-process/requirements.txt
then restart - or find "ComfyUI-Image-Process" in ComfyUI Manager. Standard pack deps (numpy, Pillow 12.1+, scipy, opencv, scikit-image), no model downloads, and it needs modern ComfyUI (frontend ≥ 1.37, base ≥ 0.12). The piexif dependency ships with the pack, so metadata embedding works out of the box.
If your pipeline already runs PNG and you only occasionally need JPG, don't overthink this: the simple variant covers the "just save one" case, and this one earns its "Advanced" label the moment DPI or clean metadata becomes part of the deliverable.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The images to be saved. | |
| disable_metadata | BOOLEAN | false | Disable embedding EXIF data into the saved images. Embed into `UserComment`. |
| filename_prefix | STRING | ComfyUI | The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes. |
| dpi | INT | 3001–600 | The DPI to use when saving images. |
| quality | INT | 951–100 | The quality of the saved images. |
| save_to_input_folder | BOOLEAN | false | Whether to sync the image to the input folder. |
Outputs (0)
No outputs