Spaces:
Running
PNG Edit
Is it possible to include an edit function? Say, for instance, I wanted to add my name to the tag or change/delete any of the text. Also, if this is going to be expanded in any way it'd be a good addition to the extensions library as the PNG info Tab is a bit of a waste of space as it only has one function.
Can you please elaborate on editing? edit "generation parameters" and then save it back to the image?
I wasn't planning the extension, but I'll think about it.
I mean like edit the embedded text, in the PNG file. Mostly I would find it personally helpful if I could make notes in the embedded png for when I'm training with dream booth, without the need for an external text file I could make a note inside the embedded png. Or if I upload the image I could leave a personal note to viewers if they want to train their images without the information getting lost if it's separated from the source. Or contact information if I wanted to share it. etc. To me, if it's possible, this would open up a wide range of possibilities. I am sure I am not the only one LOL. Thanks for your time BTW. It's a nice little script, I was wanting something like this too a few months back. I am not a coder and not sure exactly how the PNGs are embedded so I'm not even sure it's possible.
Interesting. I'll try something.
Message me on Discord: andzhik#6991
Hey, I've created a new version with something along the line of what you asked for. It's in a separate space https://huggingface.co/spaces/andzhk/PGNInfo-test.
The flow is:
you upload the images -> submit -> there is a new field called "Custom notes" (add something there and hit Save notes). Now, in order to download this image you need to right-click on the output image (right side) and "Save image as". The image name does not persist due to the limitations of the Gradio Framework.
There are a few things I'm working on:
- easier download (just a button: click and get the image)
- persist image name (whatever uploaded image name was, it will be downloaded)
This is great, thank you so much :)