9 comments
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, 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. |
Nice! We should come up with a way to expose webp images in ActivityPub objects. I store everything in webp natively and convert to jpeg on the fly as needed.