DiffusionToolkit icon indicating copy to clipboard operation
DiffusionToolkit copied to clipboard

Proposed: Export PNG data to EXIF for Lightroom

Open tusharbhutt opened this issue 2 years ago • 1 comments

Not sure if it's possible, but it would be nice to export the PNG data to EXIF fields that can then be read via Lightroom whether directly in the XMP-LR:HierarchicalSubject field or imported via EXIFtool. Would be especially cool if each parameter (prompt, negative prompt, steps, model, hash, etc) was separate

For what it's worth, this person seems to have figured out the format of the PNG data and mapped to EXIF

https://github.com/Eugenii10/exiftool-sd-format

tusharbhutt avatar Dec 31 '22 04:12 tusharbhutt

Hi, just bumping this :)

if the parsing of keywords (steps, CFG, positive prompt, negative prompt) is "relatively easy" to do, then is converting each of those as a variable into XMP-LR:HierarchicalSubject something that can be done? Could a user say that a "," in the positive or negative prompt would act as a separator so the keywords can be separated (so a prompt of "A cat, a rat, a bat" would become XMP-LR:Prompt>A cat; XMP-LR:Prompt>A rat; XMP-LR:Prompt>A bat) ?

tusharbhutt avatar Jan 28 '23 05:01 tusharbhutt