← Back to context Comment by archerx 2 days ago Lossy PNGs exist with transparency. 6 comments archerx Reply WhitneyLand 2 days ago PNG as a format is not lossy, it uses deflate.What you’re referring to is pngquant which uses dithering/reduces colors to allow the PNG to compress to a smaller size.So the “loss” is happening independent of the format. adzm 2 days ago 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 Semaphor 2 days ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough. archerx 2 days ago No I meant lossy. This is the library I use; https://pngquant.org/ thunderfork 2 days ago Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness) 1 reply →
WhitneyLand 2 days ago PNG as a format is not lossy, it uses deflate.What you’re referring to is pngquant which uses dithering/reduces colors to allow the PNG to compress to a smaller size.So the “loss” is happening independent of the format.
adzm 2 days ago 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 Semaphor 2 days ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough. archerx 2 days ago No I meant lossy. This is the library I use; https://pngquant.org/ thunderfork 2 days ago Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness) 1 reply →
Semaphor 2 days ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
archerx 2 days ago No I meant lossy. This is the library I use; https://pngquant.org/ thunderfork 2 days ago Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness) 1 reply →
thunderfork 2 days ago Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness) 1 reply →
PNG as a format is not lossy, it uses deflate.
What you’re referring to is pngquant which uses dithering/reduces colors to allow the PNG to compress to a smaller size.
So the “loss” is happening independent of the format.
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
PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
No I meant lossy. This is the library I use; https://pngquant.org/
Pre-processing does not a codec make (this is why .gif is considered lossless even though you lose all that 24-bit colour goodness)
1 reply →