Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Zirnworks/XMP-StableDiffusion-DataMapper
A Data remapping tool that batch converts image metadata from the volatile format that Stable Diffusion has to the stable XMP format.
https://github.com/Zirnworks/XMP-StableDiffusion-DataMapper
Last synced: 2 months ago
JSON representation
A Data remapping tool that batch converts image metadata from the volatile format that Stable Diffusion has to the stable XMP format.
- Host: GitHub
- URL: https://github.com/Zirnworks/XMP-StableDiffusion-DataMapper
- Owner: Zirnworks
- Created: 2023-01-31T17:17:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T09:23:56.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T09:11:08.804Z (5 months ago)
- Language: Python
- Size: 6.55 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-v-sekai - XMP StableDiffusion DataMapper
README
# XMP-StableDiffusion-DataMapper
A Data remapping tool that batch converts image metadata from the volatile format that Stable Diffusion has to the stable XMP format using ExifTool## Requirements
Python 3.10+## Usage
The app is set up to convert all images that within the designated directory.Open command prompt and run command:
python XMPEditor.pyOr doubleclick the XMPEditor.py script if you have Python installed.
Paste in the directory of the images you want to process.This may take up to 1.5 seconds per image.
It may look like nothing happens, but all images in the /images folder will now have had their XMP Metadata that is specific to Stable Diffusion created and added.
You can easily access this data using [XnView MP](https://www.xnview.com/en/xnviewmp/), or drag you file onto the "exiftool(-k).exe" file within the repo to view the metadata. You are now free to edit the PNG file without destroying the stable diffusion parameters.
### Acknowledgements
Thank you to Phil Harvey, who is insanely dedicated to still be working on ExifTool after all these years, and for which this tool is just a simple wrapper over.
XMP Stable Diffusion Mapper by Zirnworks LLC is licensed under a Creative Commons Attribution 4.0 International License.
Authorized for Commercial use, both personally and professionally, please attribute Zirnworks when you do.