daveschumaker / artbot-for-stable-diffusion

A front-end GUI for interacting with the AI Horde / Stable Diffusion distributed cluster
https://tinybots.net/artbot
MIT License
172 stars 40 forks source link

Add image parameters to webp exif data #184

Closed tijszwinkels closed 12 months ago

tijszwinkels commented 12 months ago

As proposed by rockbandit here.

tijszwinkels commented 12 months ago

This is a follow-up to: https://github.com/daveschumaker/artbot-for-stable-diffusion/pull/147

tijs@Phoenix.local:~/os/artbot-for-stable-diffusion(webp_exif=)%$ exiftool  -usercomment -software ~/Downloads/saveas_test.webp
User Comment                    : A test setup in a futuristic universe, fractal, colorful.Negative prompt: bad quality, low quality, derpy.Steps: 20, Sampler: k_euler, CFG scale: 9, Seed: 3442820102, Size: 512x512, model: ICBINP - I Can't Believe It's Not Photography
Software                        : ArtBot - Create images with Stable Diffusion, utilizing the AI Horde
tijs@Phoenix.local:~/os/artbot-for-stable-diffusion(webp_exif=)%$ exiftool  -usercomment -software ~/Downloads/a_test_setup_in_a_futuristic_universe__fractal.jpg
User Comment                    : A test setup in a futuristic universe, fractal.Negative prompt: bad quality, low quality, derpy.Steps: 20, Sampler: k_euler, CFG scale: 9, Seed: 3774643812, Size: 512x512, model: ICBINP - I Can't Believe It's Not Photography
Software                        : ArtBot - Create images with Stable Diffusion, utilizing the AI Horde

works for both .webp saved through browser context menu, as well as 'normal' download button. :)