Lossy PNG compressor — pngquant command based on libimagequant library
c
palette
quality
png
png-compression
conversion
smaller
stdin
image-optimization
quantization
pngquant
-
Updated
May 13, 2021 - C
I create a BufferedImage with TYPE_USHORT_GRAY, ImageIO.write will encode this properly as 16-bit grayscale, but PngEncoder saves it as 8-bit truecolor.