leptonica
brew install leptonicaImage processing and image analysis library
License: BSD-2-Clause
Development: Pull requests
Formula JSON API: /api/formula/leptonica.json
Formula code: leptonica.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 | ✅ | 1.87.0 |
Depends on:
| giflib | 6.1.3 | Library and utilities for processing GIFs |
| jpeg-turbo | 3.2.1 | JPEG image codec that aids compression and decompression |
| libpng | 1.6.59 | Library for manipulating PNG images |
| libtiff | 4.7.2 | TIFF library and utilities |
| openjpeg | 2.5.4 | Library for JPEG-2000 image manipulation |
| webp | 1.6.0 | Image format providing lossless and lossy compression for web images |
Depends on when building from source:
| pkgconf | 3.0.11 | Package compiler and linker metadata toolkit |
Binaries:
convertfilestopdf,
convertfilestops,
convertformat,
convertsegfilestopdf,
convertsegfilestops,
converttopdf,
converttops,
fileinfo,
imagetops,
xtractprotos
GitHub Packages downloads:
| Last 30 days | 599,973 |
|---|---|
| Downloads | 27,347,021 |
| Analytics install events (30 days) | 16,075 |
| Downloads / install events (30 days) | 37.3× |
Source: GitHub Packages, fetched 2026-11-27T00:54:15Z. Analytics dates: 2026-10-28 to 2026-11-27. 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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 16,074 | 39,650 | 347,105 |
Installs (--HEAD) | 1 | 1 | 27 |
| Installs on Request | 741 | 1,870 | 26,963 |
Installs on Request (--HEAD) | 1 | 1 | 26 |
| Build Errors | 3 |