4 ms·
> png (no compression) To be clear, PNG only supports lossless compression, while WebP has separate lossy and lossless modes. AVIF can do lossless compression
by ledoge 7mo ago
> 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.
- sampullman 7mo agoThere is lossy PNG compression that works very well for images using a limited color palette (pngquant, lossypng, etc).
- vikingerik 7mo agoPNG can be lossy before the lossless step. You can take areas of near-matching pixel values and make them actually match, to work better with PNG's near neighbor compression. There are a few encoders that can do that.