Skip to content

A Data remapping tool that batch converts image metadata from the volatile format that Stable Diffusion has to the stable XMP format.

Notifications You must be signed in to change notification settings

Zirnworks/XMP-StableDiffusion-DataMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.py

Or 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, 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.

Creative Commons License
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.

About

A Data remapping tool that batch converts image metadata from the volatile format that Stable Diffusion has to the stable XMP format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages