🍺 BREW Explorer

← all formulae

leptonica

brew install leptonica v1.87.0 BSD-2-Clause

C library for image processing, analysis, and manipulation with support for multiple formats.

Why you might care

Leptonica is a low-level image I/O and transformation library commonly used by document scanning and OCR tools (especially Tesseract). If you're building image processing pipelines or OCR applications, you'll likely need it as a dependency; it handles JPEG, PNG, TIFF, GIF, and WebP natively.

Categories

Alternatives

ImageMagick OpenCV GraphicsMagick
29.5k
30-day installs · #190
84.9k
90-day · #204
486.1k
365-day · #152

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "ImageMagick",
    "OpenCV",
    "GraphicsMagick"
  ],
  "build_dependencies": [
    "pkgconf"
  ],
  "categories": [
    "library",
    "image-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "giflib",
    "jpeg-turbo",
    "libpng",
    "libtiff",
    "openjpeg",
    "webp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Image processing and image analysis library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:44+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "leptonica",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "http://www.leptonica.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 29500,
  "installs_365d": 486063,
  "installs_90d": 84931,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:43:17+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "leptonica",
  "oldnames": [],
  "one_liner": "C library for image processing, analysis, and manipulation with support for multiple formats.",
  "optional_dependencies": [],
  "rank_30d": 190,
  "rank_365d": 152,
  "rank_90d": 204,
  "raw_hash": "611a811c1d9464cf",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/l/leptonica.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.87.0",
  "versioned_formulae": [],
  "why_use_this": "Leptonica is a low-level image I/O and transformation library commonly used by document scanning and OCR tools (especially Tesseract). If you\u0027re building image processing pipelines or OCR applications, you\u0027ll likely need it as a dependency; it handles JPEG, PNG, TIFF, GIF, and WebP natively."
}