Email or username:

Password:

Forgot your password?
Top-level
pixelfed

@grishka Let's do it, sharing webp by default could save a lot of bandwidth, energy and costs in the long run.

We can fallback to jpeg/png for compatibility until other projects adopt this!

5 comments
randy
@pixelfed
Do we know any stats on how much savings does switch to webp gives?

@grishka
Григорий Клюшников

randy, in my experiments webp is around 25-50% smaller than a jpeg of equivalent quality. Then there's also avif, which is even more efficient, I'll support that at some point too.

randy
@grishka
That looks like massive gains already. I hope downsteam devs like app developers bring support for it, but I guess devices like android would also need support?
@pixelfed
Григорий Клюшников

randy, android supported webp natively for ages. And by natively I mean that you can just feed a webp file into BitmapFactory and it'll happily decode it. It's capable of encoding webp as well. It's iOS that's more of a problem, but I'd be surprised if no one made a library that wraps libwebp into an UIImage extension.

randy
@grishka
Cool. I did not know about that.
Thanks and keep up the good work
@pixelfed
Go Up