ComfyUI Extension: Save Image (copy EXIF from source)

Authored by kevinkessler

Created

Updated

0 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

ComfyUI node to save images while copying EXIF metadata from a source image

Looking for a different extension?

Custom Nodes (1)

README

comfyui-save-with-exif

A ComfyUI custom node that saves images while copying EXIF metadata (date/time, camera model, GPS, etc.) from an original source image.

Useful when you upscale or edit a photo and want the output file to retain the original camera metadata — so photo managers, maps, and galleries still see the correct date, location, and device info.

Node: Save Image (copy EXIF from source)

Category: image

Inputs

| Name | Type | Description | |------|------|-------------| | images | IMAGE | Processed image(s) to save | | source_image | file picker | Original image in ComfyUI's input/ directory whose EXIF should be copied | | filename_prefix | STRING | Output filename prefix (default: ComfyUI) | | format | jpg | png | Output format | | quality | INT 1–100 | JPEG quality (default: 95) |

Notes

  • EXIF is read from the raw bytes of the source image to preserve all tags including MakerNote.
  • For PNG output, ComfyUI workflow metadata (prompt, extra_pnginfo) is embedded alongside the EXIF.
  • If the source image has no EXIF, the image is still saved without error.

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more