Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Please support AI metadat removal #242

Open
cgwers opened this issue Oct 7, 2023 · 0 comments
Open

Please support AI metadat removal #242

cgwers opened this issue Oct 7, 2023 · 0 comments

Comments

@cgwers
Copy link

cgwers commented Oct 7, 2023

Hi,

AI generated images have PNG info blocks containing generation metadata that your tool doesn't see. It'd be great if you could support their removal.

This is typical of what I see in NotePad++:

‰PNG
�
   
IHDR  �   � ��   {�C­  �EtEXtparameters 1girl, photograph, 15-years-old, sitting in a 1950's soda shop, full color, studio lighting, vintage hairdo, poodle skirt, cashmere pullover sweater, slender

Steps: 25, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 3510580121, Size: 512x512, Model hash: d92d875b37, Model: deliberateRealistic_v10, Version: v1.6.0«g¸‚ �  IDATx

I can see the info if I open a PNG in NotePad++ and this stack page has c# code to read it, if that helps explain what I'm describing:

hxxps://stackoverflow.com/questions/76655450/how-to-read-stable-diffusion-prompt-from-meta-data-in-png-file-in-c-sharp

I think all front-ends write metadata there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant