Ludovic Frank

November 5, 2025

An AVIF file at 70% quality is equivalent to a WebP at 90%, but twice as light? šŸ¤”

What? How am I obsessive? I don’t see what you’re talking about… šŸ˜…

obsession.jpg


Let me tell you the story!

As usual, I’m working on something of my own, in my little corner… After releasing CoupĆ©o, I needed an internal tool to test an idea… šŸ’”

And the thing is, to make this idea work, I’ll need to store, and more importantly distribute, thousands, even tens of thousands of images… šŸ“ø

(You might have seen a short video about it on my socials šŸ˜).

Anyway, the thing is, it’s going to consume bandwidth (I love bandwidth! I love it! šŸ˜†).

Why am I thinking about this already? Well… in the summer of 2025, I released LFMaps, a small project I built for CoupĆ©o (on the hairdresser pages, there’s a map showing where they’re located — pretty cool, right? 😁).

And instead of keeping my OpenFreeMap instance (what’s behind LFMaps) to myself, I thought:

ā€œHey, how can I make this accessible to others?ā€ šŸŒ

LFMaps went online in August 2025, and now it’s November 2025.
There are already 11,000 regular end users on LFMaps (people who see the maps in their browsers).

And the bandwidth? 60 gigabytes per month! Sure, compared to big companies, that’s tiny — but it’s just a small project launched by an indie three months ago… So what will it be in a year? 😮

Anyway, back to our project: the images will be stored in three formats — JPG, WebP, and AVIF.
JPEG and WebP are mostly there for compatibility with older browsers šŸ§“

But here’s the thing — during my tests, I set all three formats to 90% quality, and… the AVIF files were heavier than my WebP ones! šŸ˜…

Huh? What’s going on there?

Well, after doing a few tests and benchmarks, I found out that an AVIF at 70% quality gives the same visual quality as a WebP at 90%, while being about 30% lighter šŸ“Š

So, to really keep things light, I convert to AVIF at 60% quality.
That gives me great-looking 1920p images at around 250 KB each.

swiss.jpg


Not bad, right? (I don’t think that’s French, though šŸ˜†).

(It' a french private joke like "C'est pas mal non ? c'est franƧais")

About Ludovic Frank

Passionate web developer living in France, creator of projects like ViteUneTable, CoupƩo, LFNY, LFQR, LFMDP, LFUnminfy, LFColors, LFSocial, LFMaps and LFGitignore.

Always interested in trying out new things.

In addition to occasionally writing on this platform, I also maintain my own blog.