Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Write more metadata to output files #406

Closed
sowbug opened this issue Sep 6, 2022 · 2 comments
Closed

Write more metadata to output files #406

sowbug opened this issue Sep 6, 2022 · 2 comments

Comments

@sowbug
Copy link

sowbug commented Sep 6, 2022

Hi there, over on https://github.com/basujindal/stable-diffusion I've submitted a PR to write most of the command-line parameters to the generated picture files. This is similar in spirit to your function save_image_and_prompt_to_png, but it goes farther:

Screenshot from 2022-09-06 13-25-51

Since the @basujindal fork also optionally outputs JPEGs, the PR handles both file types. Anyway, if you're interested in this functionality, you're welcome to adapt the PR, or else ask me to do it.

@tildebyte
Copy link
Contributor

We have ongoing work to improve metadata writing - I don't have the exact link handy. It's either in Issues, a PR, or Discussions.

@bakkot
Copy link
Contributor

bakkot commented Sep 6, 2022

I have a proposal for exactly what metadata to include at #266.

@sowbug do you want to take a look at that? If there's other information which you think ought to be included, please leave a comment there.

@lstein lstein closed this as completed Sep 17, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants