pumpkinbbyx's picture
Update README.md
d8b13ce verified
📸 ComfyUI Custom Metadata Saver
This custom node allows you to save images while stripping the internal ComfyUI workflow data and injecting custom EXIF (Camera & GPS) and Copyright information.
📥 Installation
Navigate to your ComfyUI/custom_nodes/ folder.
Create a new folder named ComfyUI-Metadata-Saver.
Create two files inside: __init__.py and metadata_saver.py (paste the provided code).
Restart ComfyUI.
⚙️ How to Use
Add Node: Double-click the canvas and search for "Save Image (Custom Metadata)".
Connect: Link your final image output to this node (replace the standard "Save Image" node).
Configure Settings:
Setting Description
strip_workflow True: Removes the ComfyUI node graph/prompt (privacy mode).<br>False: Keeps the workflow hidden in the file.
filename_prefix Standard file naming (e.g., "MyRender").
custom_author Sets the "Artist/Author" tag.
camera_make e.g., Apple, Sony, Canon.
camera_model e.g., iPhone 16 Pro Max.
latitude / longitude Sets GPS location.
📍 Example Presets (Miami / iPhone)
To make your render look like a photo taken in Miami on a new iPhone:
Camera Make: Apple
Camera Model: iPhone 16 Pro Max
Latitude: 25.7617
Longitude: -80.1918
⚠️ Note: If you set strip_workflow to True, you will not be able to drag and drop the resulting image back into ComfyUI to load the workflow. The image will be "clean."