pbmreduce
reduces PBM bitmap size by an integer factor
TLDR
Reduce bitmap by factor
$ pbmreduce [4] [input.pbm] > [output.pbm]
Reduce with Floyd-Steinberg dithering$ pbmreduce -floyd [4] [input.pbm] > [output.pbm]
SYNOPSIS
pbmreduce [options] n [file]
DESCRIPTION
pbmreduce reduces PBM bitmap size by an integer factor. Can use threshold or dithering for the reduction. Part of Netpbm toolkit.
PARAMETERS
n
Reduction factor.-floyd
Use Floyd-Steinberg dithering.-threshold
Use simple threshold (default).
INSTALL
sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm
