Hacker News new | ask | show | jobs
by vaidhy 25 days ago
On a side note, what is your take on AVIF vs WebP? I recently moved my site to 11ty and looking to re-encode several hundreds of images. I do want to keep the quality of the photos as much as I can, while reducing the network load.
1 comments

WebP is pretty much equal to JPEGs via jpegli (for lossy compression). AVIF is better than WebP and jpegli JPEGs for lossy compression and supported pretty much everywhere now. AVIF is worse than WebP for lossless compression.

jpegli JPEGs will convert to lossy JPEG XL without generation loss when JPEG XL is more well supported.