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

feat: add support for PNG tEXt #196

Closed FredHappyface closed 10 months ago

FredHappyface commented 10 months ago

Unfortunately I've not been able to test this locally as the download button isn't working. Would you be able to point me in the right direction when you get the chance?

This code uses a combination of uintxxBuffers and Blobs to insert the tEXt after the IHDR in the addOrUpdateExifData function

FredHappyface commented 10 months ago

I've since been able to test this and exported the following png

purple_wolf(7)

Running my getmeta test script, this returns image