Start pngquant download now, for free!
What is pngquant?
pngquant is a command-line utility and a library for lossy compression of PNG images. The conversion reduces file sizes significantly (often as much as 70%) and preserves full alpha transparency. Generated images are compatible with all web browsers and operating systems.
pngquant uses modified version of Median Cut quantization algorithm and additional techniques to mitigate deficiencies of Median Cut. Instead of splitting boxes with largest volume or number of colors, boxes are selected to minimize variance from their median value. Histogram is built with addition of a basic perception model, which gives less weight to noisy areas of the image.
High-quality palette generation using a combination of vector quantization algorithms. Unique adaptive dithering algorithm that adds less noise to images than the standard Floyd-Steinberg. Easy to integrate with shell scripts, GUIs and server-side software. Fast mode for real-time processing/large numbers of images.
You can download pngquant 2.12.2 for Windows Mac, and Linux.
New features and improvements added to the newest version of software are available in pngquant changelog where you can find all highlights from the official release notes.
- improved speed on large images
- fixed wildcard support on Windows
- fixed argument parsing on Windows
- supports building with Rust/Cargo
- supports dynamic linking with system-wide libimagequant