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

fix: convertBlob only converts a blob if the mimetype has changed #214

Closed FredHappyface closed 7 months ago

FredHappyface commented 8 months ago

fix: convertBlob only converts a blob if the mimetype has changed. fixing an issue where a converted webp was significantly larger

image

In the screenshot the first run of exiftool shows the webp size as : 81 kB prior to the fix and 21 kB after the fix

daveschumaker commented 7 months ago

This looks great. Thank you! Seems to work in my testing as well.