Hacker News new | ask | show | jobs
by babyent 596 days ago
I use webp in my applications.

HEIC don’t display in browsers. Or maybe they do now but I haven’t checked lol. AVIF don’t work well in iOS messages for example. If you send someone an AVIF it asks you to download it. WEBP works just fine, like you’d expect any image to show up.

I used to convert any non JPEG image to JPEG.

Nowadays I convert any non WEBP image to WEBP.

My B2B saas has a file explorer functionally in it. Any image for display is served as WEBP, and it is converted after upload. The WEBP files are like 20-90% smaller than what the user uploaded. Of course, the user can download and I give them their original file back.

AWS charges me for bandwidth which is more expensive than storage. Most users upload images and view them (open it up in viewer) maybe twice. But they will scroll a lot more and when the explorer opens in grid they can see anywhere from a dozen to 40 images. A small amount will download the original again.

WEBP is used by a lot of non-Google companies. Notion, for example converts images to webp.