{"id":40184672,"url":"https://github.com/asirihewage/remove_metadata_comfyui","last_synced_at":"2026-04-11T15:14:43.691Z","repository":{"id":331571095,"uuid":"1131482006","full_name":"asirihewage/remove_metadata_comfyui","owner":"asirihewage","description":"A lightweight custom ComfyUI node that removes all metadata from images (EXIF, PNG text chunks, AI generation info) while keeping the image visually unchanged.","archived":false,"fork":false,"pushed_at":"2026-01-10T06:43:10.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T01:33:26.518Z","etag":null,"topics":["comfyui","comfyui-custom-node","comfyui-nodes","image-processing","metadata"],"latest_commit_sha":null,"homepage":"https://w3genesis.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asirihewage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-10T05:08:46.000Z","updated_at":"2026-01-10T07:03:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/asirihewage/remove_metadata_comfyui","commit_stats":null,"previous_names":["asirihewage/remove-metadata-comfyui"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/asirihewage/remove_metadata_comfyui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asirihewage%2Fremove_metadata_comfyui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asirihewage%2Fremove_metadata_comfyui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asirihewage%2Fremove_metadata_comfyui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asirihewage%2Fremove_metadata_comfyui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asirihewage","download_url":"https://codeload.github.com/asirihewage/remove_metadata_comfyui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asirihewage%2Fremove_metadata_comfyui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comfyui","comfyui-custom-node","comfyui-nodes","image-processing","metadata"],"created_at":"2026-01-19T19:00:25.869Z","updated_at":"2026-01-28T11:00:42.539Z","avatar_url":"https://github.com/asirihewage.png","language":"Python","funding_links":[],"categories":["Workflows (3998) sorted by GitHub Stars"],"sub_categories":[],"readme":"# 🧹 Remove Metadata for ComfyUI\n![Version](https://img.shields.io/github/v/release/asirihewage/remove_metadata_comfyui)\n![ComfyUI](https://img.shields.io/badge/ComfyUI-Compatible-brightgreen)\n![License](https://img.shields.io/badge/License-MIT-blue)\n\nA lightweight **custom ComfyUI node** that removes all metadata from images (EXIF, PNG text chunks, AI generation info) while keeping the image visually **unchanged**.\n\nPerfect for:\n\n* Cleaning AI-generated images\n* Privacy‑focused workflows\n* Preparing images for upload, sharing, or datasets\n* Avoiding unwanted metadata leaks\n\n---\n\n## ✨ Features\n\n* ✅ Removes EXIF metadata (camera, software, GPS, etc.)\n* ✅ Strips PNG `tEXt`, `iTXt`, and `zTXt` chunks\n* ✅ Removes AI generation comments\n* ✅ Works with **batch images**\n* ✅ No visible quality loss\n* ✅ Fully offline \u0026 local\n\n---\n\n## 📂 Installation\n\n1. Navigate to your ComfyUI installation:\n\n```bash\ncd ComfyUI/custom_nodes\n```\n\n2. Clone or create the node folder:\n\n```bash\ngit clone https://github.com/yourname/remove-metadata-comfyui.git\n```\n\n3. Restart **ComfyUI**\n\n---\n\n## 🧩 Node Location\n\nAfter restart, find the node at:\n\n```\nImage → Utils → Remove Image Metadata\n```\n\n---\n\n## 🔌 Usage\n\nBasic workflow:\n\n```\nLoad Image\n   ↓\nRemove Image Metadata\n   ↓\nSave Image\n```\n\n* Input: `IMAGE`\n* Output: `IMAGE` (cleaned, metadata‑free)\n\nThe output image will look **identical**, but all metadata is removed.\n\n---\n\n## 🧠 How It Works\n\n* Converts ComfyUI image tensors to PIL images\n* Re‑encodes images without metadata\n* Returns clean tensors back to ComfyUI\n\nNo pixel manipulation, only metadata sanitization.\n\n---\n\n## ⚠️ Notes\n\n* Color profile (ICC) is currently removed\n* PNG output format is used internally\n* Original filename metadata is not preserved\n\n---\n\n## 🚀 Planned Enhancements\n\n* 🔘 Toggle: keep/remove ICC color profile\n* 🗂 Batch filename suffix (`_clean`)\n* 📸 JPEG / PNG format selector\n* 🛰 Optional GPS spoof node (separate module)\n* 🛡 Extra‑stealth recompression mode\n\n---\n\n## 📊 Compatibility Table\n\n| Environment              | Supported | Notes                                     |\n| ------------------------ | --------- | ----------------------------------------- |\n| ComfyUI (source install) | ✅ Yes     | Fully supported                           |\n| ComfyUI Windows Portable | ✅ Yes     | No venv required                          |\n| ComfyUI Linux Portable   | ✅ Yes     | FFmpeg must be system-installed for video |\n| ComfyUI Manager          | ✅ Yes     | Installable via `comfyui_node.yaml`       |\n| Docker-based ComfyUI     | ✅ Yes     | Ensure FFmpeg available for video         |\n\n---\n\n## 🎞️ Supported Formats\n\n### 🖼️ Images\n\n| Format | Support Level | Notes                                               |\n| ------ | ------------- | --------------------------------------------------- |\n| PNG    | ✅ Full        | Lossless, pixel-identical                           |\n| JPG    | ✅ Full        | One safe recompression (normal)                     |\n| JPEG   | ✅ Full        | Same as JPG                                         |\n| WEBP   | 🟡 Partial    | Metadata removal works, not recommended for stealth |\n| TIFF   | 🟡 Partial    | Behavior varies by Pillow build                     |\n\n### 🎥 Videos\n\n| Format              | Support Level     | Notes                                  |\n| ------------------- | ----------------- | -------------------------------------- |\n| MP4 (H.264 / H.265) | ✅ Full            | No re-encode, stream copy              |\n| MOV                 | ✅ Full            | Apple-safe remux                       |\n| MKV                 | 🟡 Partial        | Some container headers remain (normal) |\n| AVI / WMV / FLV     | ❌ Not Recommended | Metadata handling unreliable           |\n\n---\n\n## 🛡️ Stealth Guarantees by Format\n\n| Format     | Pixel / Stream Integrity | Metadata Removed       |\n| ---------- | ------------------------ | ---------------------- |\n| PNG        | Pixel-identical          | AI / Media / Privacy   |\n| JPG / JPEG | Visually identical       | AI / Media / Privacy   |\n| MP4 / MOV  | Bitstream identical      | AI / Media / Privacy   |\n| MKV        | Stream identical         | Partial container tags |\n\n---\n\n## 📜 License\n\nMIT License – free to use, modify, and distribute.\n\n---\n\n## 🙌 Credits\n\nBuilt for the **ComfyUI** ecosystem.\n\nIf you find this useful, feel free to ⭐ the repo and contribute!\n\n---\n\n## 📬 Support / Contributions\n\nPRs, issues, and feature requests are welcome.\n\nHappy generating 🧠✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasirihewage%2Fremove_metadata_comfyui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasirihewage%2Fremove_metadata_comfyui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasirihewage%2Fremove_metadata_comfyui/lists"}