Closed tijszwinkels closed 1 year ago
$ exiftool -usercomment -software ~/Downloads/a_stable_robot\(10\).jpg
User Comment : a stable robot.Steps: 20, Sampler: k_euler, CFG scale: 9, Seed: 1415104642, Size: 512x512, model: stable_diffusion
Software : ArtBot - Create images with Stable Diffusion, utilizing the AI Horde
Please note; I put a newline after the user-prompt, to be (mostly) compatible with the A1111 metadata string. It's just that exiftool replaces these with a '.' in the default view, but the original can be recovered with: exiftool -b -usercomment <filename>
Following a discussion here: https://discord.com/channels/781145214752129095/1081743238194536458/1139584345628213400
It'd be nice to store the image parameters in exported images. This MR implements this for the jpeg file format. WebP support takes a bit more work, as this is not implemented in the piexifjs library yet. (but I might work on that at a later date).
Let me know what you think. Also let me know if you want a setting for this, I'd be happy to implement that.