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.10 | Package compiler and linker metadata toolkit |
Binaries:
convertfilestopdf,
convertfilestops,
convertformat,
convertsegfilestopdf,
convertsegfilestops,
converttopdf,
converttops,
fileinfo,
imagetops,
xtractprotos
GitHub Packages downloads:
| Last 30 days | 567,880 |
|---|---|
| Downloads | 27,023,810 |
| Analytics install events (30 days) | 16,114 |
| Downloads / install events (30 days) | 35.2× |
Source: GitHub Packages, fetched 2026-11-12T00:52:05Z. Analytics dates: 2026-10-13 to 2026-11-12. 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,114 | 41,741 | 364,272 |
Installs (--HEAD) | 0 | 0 | 33 |
| Installs on Request | 826 | 2,008 | 29,076 |
Installs on Request (--HEAD) | 0 | 0 | 31 |
| Build Errors | 2 |