gd

Install command:
brew install gd

Also known as: libgd

Graphics library to dynamically manipulate images

https://libgd.github.io/

License: GD

Development: Pull requests

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

Formula code: gd.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
monterey ✅
big sur ✅
macOS on
Intel
sonoma ✅
ventura ✅
monterey ✅
big sur ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.3.3
head ⚡️ HEAD

Revision: 6

Patches:

https://github.com/libgd/libgd/commit/f4bc1f5c26925548662946ed7cfa473c190a104a

Depends on:

fontconfig 2.18.4 XML-based font configuration API for X Windows
freetype 2.15.0 Software library to render fonts
jpeg-turbo 3.2.1 JPEG image codec that aids compression and decompression
libavif 1.4.2 Library for encoding and decoding .avif files
libpng 1.6.59 Library for manipulating PNG images
libtiff 4.7.2 TIFF library and utilities
webp 1.6.0 Image format providing lossless and lossy compression for web images

Conflicts with: mummer (because both install `annotate` binaries)

Binaries: annotate, bdftogd, gd2copypal, gd2togif, gd2topng, gdcmpgif, gdparttopng, gdtopng, giftogd2, pngtogd, pngtogd2, webpng

GitHub Packages downloads:

Last 30 days230,300
Downloads20,926,036
Analytics install events (30 days)13,087
Downloads / install events (30 days)17.6×

Source: GitHub Packages, fetched 2026-11-20T00:53:47Z. Analytics dates: 2026-10-21 to 2026-11-20. 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
Installs13,08634,450197,031
Installs (--HEAD)137
Installs on Request3441,5457,487
Installs on Request (--HEAD)125
Build Errors1