Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
📸 ComfyUI Custom Metadata Saver
|
| 2 |
+
This custom node allows you to save images while stripping the internal ComfyUI workflow data and injecting custom EXIF (Camera & GPS) and Copyright information.
|
| 3 |
+
📥 Installation
|
| 4 |
+
Navigate to your ComfyUI/custom_nodes/ folder.
|
| 5 |
+
Create a new folder named ComfyUI-Metadata-Saver.
|
| 6 |
+
Create two files inside: __init__.py and metadata_saver.py (paste the provided code).
|
| 7 |
+
Restart ComfyUI.
|
| 8 |
+
⚙️ How to Use
|
| 9 |
+
Add Node: Double-click the canvas and search for "Save Image (Custom Metadata)".
|
| 10 |
+
Connect: Link your final image output to this node (replace the standard "Save Image" node).
|
| 11 |
+
Configure Settings:
|
| 12 |
+
Setting Description
|
| 13 |
+
strip_workflow True: Removes the ComfyUI node graph/prompt (privacy mode).<br>False: Keeps the workflow hidden in the file.
|
| 14 |
+
filename_prefix Standard file naming (e.g., "MyRender").
|
| 15 |
+
custom_author Sets the "Artist/Author" tag.
|
| 16 |
+
camera_make e.g., Apple, Sony, Canon.
|
| 17 |
+
camera_model e.g., iPhone 16 Pro Max.
|
| 18 |
+
latitude / longitude Sets GPS location.
|
| 19 |
+
📍 Example Presets (Miami / iPhone)
|
| 20 |
+
To make your render look like a photo taken in Miami on a new iPhone:
|
| 21 |
+
Camera Make: Apple
|
| 22 |
+
Camera Model: iPhone 16 Pro Max
|
| 23 |
+
Latitude: 25.7617
|
| 24 |
+
Longitude: -80.1918
|
| 25 |
+
⚠️ 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."
|