Choose to save as png, jpg or webp

#21
by gonegirl - opened

Hi! Is there a way to output it directly in formats other than PNG, like JPG or WebP, with a quality slider?

Also did you notice that zeroGPU spaces are getting faster? πŸš€ Are they getting an upgrade or something? Thanks!

It's easy to change the format of the image itself (just change the format="png" part), but the metadata specifications are specific to PNG, so it's not possible in this space...πŸ˜…
It's true that Zero GPU has been upgraded. The GPU has been upgraded from A100 to H200, and a new feature was added yesterday.
https://huggingface.co/posts/cbensimon/356529804559377

It's easy to change the format of the image itself (just change the format="png" part), but the metadata specifications are specific to PNG, so it's not possible in this space...πŸ˜…

Can it just ignore it if it's not a PNG.

It's true that Zero GPU has been upgraded. The GPU has been upgraded from A100 to H200, and a new feature was added yesterday.
https://huggingface.co/posts/cbensimon/356529804559377

Cool 😎

Can it just ignore it if it's not a PNG.

I read the code again, and there are more places than I thought that assume PNG. It seems better not to make changes...😭
It would be easy to automatically convert the output images to other formats, but I think the code would become complicated.

Oh, okay then. No worries, I can convert it locally. Thanks.

gonegirl changed discussion status to closed

Sign up or log in to comment