logoalt Hacker News

ledogetoday at 8:23 AM1 replyview on HN

> png (no compression)

To be clear, PNG only supports lossless compression, while WebP has separate lossy and lossless modes. AVIF can do lossless compression too, but you're usually better off using WebP or PNG (if you need >8 bpc) instead as it really isn't good at that.


Replies

sampullmantoday at 9:14 AM

There is lossy PNG compression that works very well for images using a limited color palette (pngquant, lossypng, etc).