Do I need a license?
Yes, for nearly all use cases (like using Pngquant for, by, or on behalf of a company, government agency, or any organization).
Lossy PNG compression with near-lossless quality.
About
pngquant is a command-line utility and library (libimagequant) for lossy compression of PNG images. It reduces file sizes by 60–70% while preserving full alpha transparency and keeping the result visually indistinguishable from the original. It's available as a native library with no external dependencies. It has an API for C/ObjC/C++/C# and any language that can call native code. Comes with dedicated object-oriented libraries for Java and Rust. Works on iOS.
It's used in production by image pipelines, build tools, and CMS plugins across the web. Images from pngquant are fully standards-compliant and work everywhere, so your users can save, edit and share images without installing any codecs.
It's available as a native library with no external dependencies. It has an API for C/ObjC/C++/C# and any language that can call native code. Comes with dedicated object-oriented libraries for Java and Rust. Works on iOS.
Bonus! This also includes a license for the gif.ski encoder that creates highest-quality GIFs using pngquant.
Commercial license
Once purchased, this project's custom license will allow you to use it at your organization.
Purchase questions
Yes, for nearly all use cases (like using Pngquant for, by, or on behalf of a company, government agency, or any organization).
The Pngquant project uses a custom license which you can read at this link.
Unless cancelled first, annual licenses auto-renew. If you paid manually (e.g. a wire transfer), we will contact you before the renewal date to ensure your finance team pays on time. Please make sure your contact info is correct.
View the source on Github and it may be dual-licensed under a permissive copyleft license you can try for evaluation purposes before buying the commercial license your company needs.
If you have any other questions, please try our website's FAQ page or contact us through the contact page.
Why this matters
The vast majority of the purchase price goes to Pngquant to actually ship new features, fixes, review PRs, and answer security reports so you'll have better dependencies.