oobabooga / text-generation-webui

A Gradio web UI for Large Language Models.
GNU Affero General Public License v3.0
40.57k stars 5.31k forks source link

add optimize to image save #5334

Closed nktice closed 7 months ago

nktice commented 9 months ago

I'd like to suggest adding built in optimization to image save (like 179) making it read : image.save(buffered, format="JPEG", optimize=True)

https://github.com/oobabooga/text-generation-webui/blob/d8c3a5bee814f09b0868474002105dcf21a3ff1a/extensions/sd_api_pictures/script.py#L179

github-actions[bot] commented 7 months ago

This issue has been closed due to inactivity for 2 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.