3 ms·
Images from pngquant[1] will be left unscathed, so use it if you want to preserve transparency and sharpness. The PNG-8 variant is 3-4 times smaller than a tru
by pornel 8y ago
Images from pngquant[1] will be left unscathed, so use it if you want to preserve transparency and sharpness.
The PNG-8 variant is 3-4 times smaller than a truecolor PNG, which is why Twitter is allowing it.
[1]: https://pngquant.org/ https://pngquant.org/
- xyzzy_plugh 8y agoIt looks like pngquant can change palette subtly, but for e.g. pixel art or art with carefully selected palettes what are the downsides?
- pornel 8y agoPixel art is likely to have only a few dominant colors, so it should convert losslessly or nearly so. Most other quantization implementations unconditionally drop a few least significant bits of colors, giving images a posterized look of a 16-bit console. pngquant tries very hard not to do that, as its goal is to have no visible loss, just smaller files.