macOS
brew install unpaperprovider-native install command
brew / rank 1266
Post-processing for scanned/photocopied books. Version 7.0.0 via Homebrew; verified from local package data.
install
brew install unpaperprovider-native install command
overview
Post-processing for scanned/photocopied books
history
unpaper is a command-line post-processing tool for scanned paper, especially scanned or photocopied book pages. Its README describes the goal as making scanned book pages easier to read on screen after PDF conversion and improving page images before OCR.
The upstream README says unpaper was originally written by Jens Gulden, and the AUTHORS file lists Gulden as original author and maintainer from 2005-2009. The NEWS file records the first release, 1.0, on 2005-03-01.
Early releases focused on the core scanned-book workflow: joining or splitting pages, handling double-page layouts, deskewing, stretching, zooming, border alignment, black filtering, and multi-file batch processing. The 2005-2007 NEWS entries also show portability work for Mac OS X and SPARC Solaris, color support through PPM, documentation diagrams, binary/source distribution archives, and conventional tarball packaging.
Maintenance later moved from a personal scanned-page tool into a modern hosted open source project. NEWS records an Autotools build system in 2011, source reorganization and parser cleanup in 2012, mathematically accurate interpolation in 2013, libav-based file input/output in 2014, ffmpeg compatibility updates, and a 2022 Meson migration in release 7.0.0.
The supplied package metadata shows unpaper available across a broad set of Unix-like package managers: Alpine/apk, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper. That matches its niche as a small C utility used inside scanning, OCR, and PDF-preparation pipelines.
The project's dependency history also tracks adoption pressure. The README now says ffmpeg is the only hard dependency for file input and output; NEWS shows earlier transitions through Netpbm-style PNM workflows, libav, ffmpeg compatibility, and build-system modernization.
unpaper is usually run in batch mode over numbered image sequences. The basic concepts documentation explains sheets, pages, single-page and double-page layouts, wildcard filename sequences such as `input%03d.pbm`, and options for joining single-page scans into double-page sheets or splitting double-page scans back into individual page images.
The README describes the processing features that define its everyday use: removing dark borders from scans and photocopies, detecting misaligned centering and rotation, deskewing pages, and allowing each processing step to be disabled or tuned when automatic processing fails.
unpaper is significant in package-manager culture because it is one of those small, sharp Unix tools that exists to make a larger workflow possible. It sits between scanner output, image conversion tools, OCR engines, and PDF builders, so distributions care about stable command-line behavior, supported image formats, and dependency choices more than about a GUI.
It is also a good example of a long-lived niche media utility being kept buildable as the C ecosystem changes: custom code gave way to libav/ffmpeg for formats, Autotools gave way to Meson, tests were adapted for floating-point differences, and maintainers kept portability and package builds alive.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
unpaper | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:unpaper |
|---|---|
| Version | 7.0.0 |
| Package manager | Homebrew |
| Homepage | https://www.flameeyes.com/projects/unpaper |
| Repository | https://github.com/unpaper/unpaper |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.