kornelski/pngquant
Lossy PNG compressor — pngquant command based on libimagequant library observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 88
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6194
- days_rel: n/a
- days_push: 74
- n_releases_24m: 0
Adoption not part of the score
5742 stars · 505 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pngquant is a command-line lossy PNG compressor that converts images to efficient 8-bit palette PNGs with alpha support, often reducing file sizes by 60-80%. It is built on the libimagequant library (now written in Rust) and offers configurable quality levels, adaptive dithering, and fast batch processing.
Use cases
- compress png images to smaller file sizes
- convert 24-bit pngs to 8-bit palette pngs with alpha
- batch optimize png files for the web
- reduce png file size from the command line
- shrink png images in a build pipeline or shell script
- quantize image colors while preserving transparency
When to choose
- you need significantly smaller PNG files for web delivery while keeping alpha transparency
- you want fast batch or stdin/stdout image compression in scripts and CI
- you need a mature, standards-compliant palette quantizer with quality thresholds
When to avoid
- you need truly lossless PNG optimization (use oxipng or zopflipng instead)
- you are compressing non-PNG formats like JPEG or WebP
- you cannot accept any lossy quality reduction in your images
Facets
cli-tool · maturity stable
image-processing compression cli image-processing web-development graphics files windows cli cross-platform png lossy-compression palette-quantization dithering image-optimization alpha-transparency libimagequant batch-processing linux macos
4 sources
- readme: https://github.com/kornelski/pngquant · fetched 2026-08-28 · adfe7b845261
- homepage: https://pngquant.org · fetched 2026-08-29 · 874f7b1d58fe
- site_page: https://pngquant.org/install.html · fetched 2026-08-29 · 307e02806e56
- site_page: https://pngquant.org/releases.html · fetched 2026-08-29 · 2cdc97d12fa9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kornelski/pngquant | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="kornelski/pngquant")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem