pgmtopbm
converts PGM grayscale images to PBM bitmap
TLDR
Convert grayscale to bitmap
$ pgmtopbm [input.pgm] > [output.pbm]
Convert with dithering$ pgmtopbm -fs [input.pgm] > [output.pbm]
Convert with threshold$ pgmtopbm -threshold -value [0.5] [input.pgm] > [output.pbm]
SYNOPSIS
pgmtopbm [options] [file]
DESCRIPTION
pgmtopbm converts PGM grayscale images to PBM bitmap. Uses dithering or thresholding to create 1-bit output. Part of Netpbm toolkit.
PARAMETERS
-fs
Floyd-Steinberg dithering.-threshold
Simple threshold conversion.-value n
Threshold value.-hilbert
Hilbert curve dithering.
SEE ALSO
pbmtopgm(1), pamditherbw(1)
