divamgupta / diffusionbee-stable-diffusion-ui

Diffusion Bee is the easiest way to run Stable Diffusion locally on your M1 Mac. Comes with a one-click installer. No dependencies or technical knowledge needed.
https://diffusionbee.com
GNU Affero General Public License v3.0
12.41k stars 609 forks source link

Richer image saving #4

Open jrk opened 2 years ago

jrk commented 2 years ago

Two things I wish the Save Image option could do:

  1. Store the prompt and other settings in metadata. Even just logging the full set of arguments in an EXIF comment would be useful.
  2. Save as formats other than PNG. Often, for playful outputs, JPEG or HEIC is plenty. Being able to save directly in compressed formats would be very convenient.
dngrlux commented 2 years ago

Similar to #1, I wonder if a temporary solution could be to save the prompt into the Get Info > Comments metadata of the file.

whosawhatsis commented 1 year ago

The most recent versions of stable diffusion seem to have implemented saving the prompt in the PNG metadata. It's working for me with https://github.com/invoke-ai/InvokeAI, so making it work in diffusionbee might only require @divamgupta to pull in the most recent version in the next update.

barryanders commented 1 year ago

I second the idea of putting the search info in the metadata of the saved image. That way you never have to worry about keeping track of all the data and it's available when you need it.

The idea in #228 would work well to include in the metadata. It's a bit cumbersome to calculate the seeds, especially when you're generating 100 images at at time.

juan9999 commented 1 year ago

Saving prompt in .PNG is super important to me as I generate way too much and loose my prompts