top | item 46599907 (no title) archerx | 1 month ago Lossy PNGs exist with transparency. discuss order hn newest WhitneyLand|1 month 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|1 month 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 archerx|1 month ago No I meant lossy. This is the library I use; https://pngquant.org/ load replies (1) Semaphor|1 month ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
WhitneyLand|1 month 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|1 month 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 archerx|1 month ago No I meant lossy. This is the library I use; https://pngquant.org/ load replies (1) Semaphor|1 month ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
archerx|1 month ago No I meant lossy. This is the library I use; https://pngquant.org/ load replies (1)
Semaphor|1 month ago PNG of course can be lossy. They aren’t great at it, but depending on the image can be good enough.
WhitneyLand|1 month ago
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|1 month ago
archerx|1 month ago
Semaphor|1 month ago