libimagequant

Install command:
brew install libimagequant

Palette quantization library extracted from pnquant2

https://pngquant.org/lib/

License: GPL-3.0-or-later AND HPND

Development: Pull requests

Formula JSON API: /api/formula/libimagequant.json

Formula code: libimagequant.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.4.1
head ⚡️ HEAD

Depends on when building from source:

cargo-c 0.10.26 Helper program to build and install c-like libraries
rust 1.99.1 Safe, concurrent, practical language

GitHub Packages downloads:

Last 30 days90,634
Downloads3,499,137
Analytics install events (30 days)5,524
Downloads / install events (30 days)16.4×

Source: GitHub Packages, fetched 2026-11-08T00:53:46Z. Analytics dates: 2026-10-09 to 2026-11-08. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,52312,05064,541
Installs (--HEAD)112
Installs on Request56108742
Installs on Request (--HEAD)112
Build Errors1