𝗥𝗲𝗱𝘂𝗰𝗲 𝗜𝗺𝗮𝗴𝗲 𝗦𝗶𝘇𝗲𝘀 𝗯𝘆 𝟵𝟬% 𝘄𝗶𝘁𝗵 𝗣𝘆𝘁𝗵𝗼𝗻

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