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.100.0 Safe, concurrent, practical language

GitHub Packages downloads:

Last 30 days85,522
Downloads3,523,321
Analytics install events (30 days)4,989
Downloads / install events (30 days)17.1×

Source: GitHub Packages, fetched 2026-11-16T00:53:24Z. Analytics dates: 2026-10-17 to 2026-11-16. 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
Installs4,98812,40463,478
Installs (--HEAD)111
Installs on Request73126692
Installs on Request (--HEAD)111
Build Errors1