LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pamditherbw

converts grayscale images to black and white using dithering

TLDR

Dither to black and white
$ pamditherbw [input.pgm] > [output.pbm]
copy
Dither with Floyd-Steinberg
$ pamditherbw -fs [input.pgm] > [output.pbm]
copy
Dither with threshold
$ pamditherbw -threshold -value [0.5] [input.pgm] > [output.pbm]
copy

SYNOPSIS

pamditherbw [options] [file]

DESCRIPTION

pamditherbw converts grayscale images to black and white using dithering. Multiple algorithms available for different quality/speed tradeoffs. Part of Netpbm toolkit.

PARAMETERS

-fs

Floyd-Steinberg dithering.
-threshold
Simple threshold.
-hilbert
Hilbert curve dithering.
-value n
Threshold value (0.0-1.0).

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid