🍺 BREW Explorer

← all formulae

pngquant

brew install pngquant v3.0.3 GPL-3.0-or-later AND HPND AND BSD-2-Clause

Lossy PNG compressor that reduces file size by quantizing color palettes.

Why you might care

Shrinks PNG files dramatically (often 50–80%) while preserving visual quality, useful in web optimization pipelines. Written in Rust for speed and safety. Drops in as a build-time tool for image processing workflows or CI/CD; far more aggressive than lossless PNG tools like pngcrush or oxipng, at the cost of slight color degradation.

Categories

Alternatives

pngcrush oxipng imagemagick ffmpeg
3.3k
30-day installs · #771
8.3k
90-day · #887
22.5k
365-day · #1008

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "pngcrush",
    "oxipng",
    "imagemagick",
    "ffmpeg"
  ],
  "build_dependencies": [
    "pkgconf",
    "rust"
  ],
  "categories": [
    "image-tool",
    "compression"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "libpng",
    "little-cms2"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "PNG image optimizing utility",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:05+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "pngquant",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://pngquant.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "pngquant \u00e2\u0080\u0094 lossy PNG compressor",
  "installs_30d": 3270,
  "installs_365d": 22490,
  "installs_90d": 8304,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later AND HPND AND BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:46:57+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "pngquant",
  "oldnames": [],
  "one_liner": "Lossy PNG compressor that reduces file size by quantizing color palettes.",
  "optional_dependencies": [],
  "rank_30d": 771,
  "rank_365d": 1008,
  "rank_90d": 887,
  "raw_hash": "046526dfe0735d0f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/p/pngquant.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.0.3",
  "versioned_formulae": [],
  "why_use_this": "Shrinks PNG files dramatically (often 50\u201380%) while preserving visual quality, useful in web optimization pipelines. Written in Rust for speed and safety. Drops in as a build-time tool for image processing workflows or CI/CD; far more aggressive than lossless PNG tools like pngcrush or oxipng, at the cost of slight color degradation."
}