Images Quality

#21
by Popaka189 - opened

@Weshop Can u please fix the generated images quality, it's generating poor quality when editing the image it's not like before. Thanks

WeShop AI org

@Popaka189 Thanks for your feedback! We’ve just released an update, and the new version should deliver improved quality. Please give it a try now and let us know how it works for you!

I believe the problem is the Gradio WebP compression. I sent a pull request #27 to fix it.

Good catch, this does look like Gradio’s WebP output may be contributing to the quality loss. I’d try setting the output format explicitly to PNG first and keep the generated result untouched. If you later need smaller previews in several sizes, I’ve used imgproxy for that kind of separate processing step — it lets you control resize, format, and quality per request: https://docs.imgproxy.net/usage/processing
But for this issue, fixing the Gradio output format first seems like the simpler solution.

Sign up or log in to comment