Pngquant

Lossy PNG compression with near-lossless quality.

About

About Pngquant

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

Here's how it works.

Once purchased, this project's custom license will allow you to use it at your organization.

  • Production rights. Use Pngquant in commercial products, internal tools, and customer-facing services.
  • Standardized license. Built on the lawyer-vetted Bonterms standard so legal teams recognize it and procurement should be quick.
  • Enterprise-friendly. Receipts, invoices, and a license certificate to pass procurement painlessly.
  • Automatic renewal. Pay with a credit card to get automatic renewal, so you won't have to think about it unless you cancel.

Purchase questions

Let's answer your questions.

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).

What's the annual price for my org size?

Just me
$950
2–10
$950
11–50
$1,250
51–200
$2,450
201–500
$3,950
501–1,000
$9,950
1,001–2,000
$15,500
2,001–5,000
$25,500
5,000+
$49,500

What's this project's license?

The Pngquant project uses a custom license which you can read at this link.

What happens at renewal?

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.

Can we try it before buying?

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.

What if I have a question that's not answered here?

If you have any other questions, please try our website's FAQ page or contact us through the contact page.

Why this matters

You're supporting software.

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.

  • Bug fixes & new features you'll love to see.
  • Security response that's someone takes seriously.
  • Long-term maintenance instead of abandonment.