macOS
brew install unpaperlocal Homebrew formula metadata
sudo port install unpaperMacPorts ports tree · graphics/unpaper/Portfile · source: api.github.com
brew
Post-processing for scanned/photocopied books. Version 7.0.0 via Homebrew; verified from local package data.
install
brew install unpaperlocal Homebrew formula metadata
sudo port install unpaperMacPorts ports tree · graphics/unpaper/Portfile · source: api.github.com
sudo apk add unpaperAlpine Linux edge package indexes · unpaper · source: dl-cdn.alpinelinux.org
sudo apt install unpaperDebian stable package indexes · unpaper · source: deb.debian.org
sudo dnf install unpaperFedora Rawhide package metadata · unpaper · source: dl.fedoraproject.org
nix profile install nixpkgs#unpapernixpkgs package indexes · pkgs/by-name/un/unpaper/package.nix · source: api.github.com
sudo pacman -S unpaperArch Linux sync databases · unpaper · source: geo.mirror.pkgbuild.com
sudo zypper install unpaperopenSUSE Tumbleweed package metadata · unpaper · source: download.opensuse.org
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 | cli | global executable |
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.
https://www.flameeyes.com/projects/unpaper
install metadata
| Package key | brew:unpaper |
|---|---|
| Version | 7.0.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/unpaper |
| Homepage | https://www.flameeyes.com/projects/unpaper |
| Repository | https://github.com/unpaper/unpaper |
| Upstream docs | https://github.com/unpaper/unpaper#readme |
| License | GPL-2.0-or-later |
| Source archive | https://www.flameeyes.com/files/unpaper-7.0.0.tar.xz |
| Dependencies | ffmpeg |
| Build dependencies | meson, ninja, pkgconf, sphinx-doc |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | unpaper |
| Version Scheme | 0 |
| Revision | 3 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
unpaper 7.0.0-3+b2
post-processing tool for scanned pages
https://www.flameeyes.eu/projects/unpaper
sudo apt install unpaperunpaper
nix profile install nixpkgs#unpaperunpaper 7.0.0-3build1
post-processing tool for scanned pages
https://www.flameeyes.eu/projects/unpaper
sudo apt install unpaperunpaper 7.0.0-r3
Post-processing tool for scanned sheets of paper
https://github.com/unpaper/unpaper
sudo apk add unpaperunpaper-doc 7.0.0-r3
Post-processing tool for scanned sheets of paper (documentation)
https://github.com/unpaper/unpaper
sudo apk add unpaper-docunpaper 7.0.0-16.fc44
Post-processing of scanned and photocopied book pages
https://www.flameeyes.eu/projects/unpaper
sudo dnf install unpaperunpaper-tests 7.0.0-16.fc44
Tests for unpaper
https://www.flameeyes.eu/projects/unpaper
sudo dnf install unpaper-testsunpaper 7.0.0-5
post-processing tool for scanned sheets of paper
https://github.com/unpaper/unpaper
sudo pacman -S unpaperunpaper 7.0.0-1.23
Post-Processing Tool for Scanned Text Pages
https://www.flameeyes.eu/projects/unpaper
sudo zypper install unpaperunpaper
sudo port install unpapersource 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.