๐—ฅ๐—ฒ๐—ฑ๐˜‚๐—ฐ๐—ฒ ๐—œ๐—บ๐—ฎ๐—ด๐—ฒ ๐—ฆ๐—ถ๐˜‡๐—ฒ๐˜€ ๐—ฏ๐˜† ๐Ÿต๐Ÿฌ% ๐˜„๐—ถ๐˜๐—ต ๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป

Large images slow your website. They hurt your SEO rankings. They ruin the user experience.

I built a tool to fix this. It converts PNG files to WebP format. I used Python and the Pillow library.

The results:

WebP offers several advantages:

I stored the metadata in PostgreSQL. I also made a Windows .exe file. Now anyone on my team runs it with one click. No Python install is needed.

Your website wins when you optimize images:

Stop using large PNGs. Switch to WebP to improve your performance.

Source: https://dev.to/tarun6208/how-i-reduced-png-image-size-by-90-using-pillow-and-webp-mb6