Comment by adzm
Do you mean lossless? PNGs are not lossy. A large photo with alpha channel in a lossless png could easily be 20x the size of a lossy webp
Do you mean lossless? PNGs are not lossy. A large photo with alpha channel in a lossless png could easily be 20x the size of a lossy webp
No I meant lossy. This is the library I use; https://pngquant.org/
PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.