pkg.sopackage field notes

brew / rank 162

Install leptonica with Homebrew

Image processing and image analysis library. Version 1.87.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install leptonica

provider-native install command

overview

Package summary

Image processing and image analysis library

Commands and aliases

  • convertfilestopdf
  • convertfilestops
  • convertformat
  • convertsegfilestopdf
  • convertsegfilestops
  • converttopdf
  • converttops
  • fileinfo
  • imagetops
  • xtractprotos

history

Project history and usage

Leptonica is Dan Bloomberg's open source C library for image processing and image analysis, with especially deep coverage of document-image operations used by OCR and page-processing tools.

Project history

Leptonica's official README metadata dates the work to 2001 and describes it as an open source C library for efficient image processing and image analysis. The project site emphasizes a pedagogical style: the code is accompanied by web pages explaining algorithms and design methods.

The library grew into a broad C toolkit covering raster operations, affine and projective transforms, morphology, convolution, connected components, image format I/O, PDF and PostScript generation, document cleanup, skew detection, dewarping, barcode experiments, and many supporting data structures.

Adoption history

Leptonica became important infrastructure below OCR and document-image projects. Its README lists Tesseract OCR, OpenCV, and jbig2enc among open source projects that use it.

The project's packaging history reflects a classic C-library role: distributions ship the library, headers, command-line utilities, and example programs so higher-level tools can depend on a stable native image-processing base.

How it is used

Developers link against liblept and use the pix-centered API for reading, transforming, analyzing, and writing images. The package also includes command-line programs such as file conversion and PDF/PostScript helpers that expose common library workflows.

Why package nerds care

Leptonica is significant because it is one of those quiet dependency packages that makes OCR stacks work. It is small enough to feel like a C utility library, but large enough to cover thousands of image-processing functions and the boring portability details that downstream packages need.

Timeline

  • 2001: Official metadata identifies Leptonica as an open source C library for image processing and image analysis.
  • 2010s: Leptonica moved into GitHub-based maintenance, with contributors preserving old distributions and modernizing build support.
  • 2024: Version 1.85.0 added PDF rendering support and many maintenance fixes.
  • 2025: Version 1.87.0 was distributed on December 24, 2025.

Related projects

  • Tesseract OCR is a major downstream user.
  • OpenCV and jbig2enc are listed by Leptonica as open source projects using the library.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
convertfilestopdfexecutableindexed executableDiscovered from the local executable index.
convertfilestopsexecutableindexed executableDiscovered from the local executable index.
convertformatexecutableindexed executableDiscovered from the local executable index.
convertsegfilestopdfexecutableindexed executableDiscovered from the local executable index.
convertsegfilestopsexecutableindexed executableDiscovered from the local executable index.
converttopdfexecutableindexed executableDiscovered from the local executable index.
converttopsexecutableindexed executableDiscovered from the local executable index.
fileinfoexecutableindexed executableDiscovered from the local executable index.
imagetopsexecutableindexed executableDiscovered from the local executable index.
xtractprotosexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.87.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:leptonica
Version1.87.0
Package managerHomebrew
Homepagehttp://www.leptonica.org/
Repositoryhttps://github.com/DanBloomberg/leptonica
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation