Pgmtopbm User Manual(0) Pgmtopbm User Manual(0)NAMEpgmtopbm - convert a PGM image to PBM
SYNOPSISpgmtopbm
[-floyd | -fs | -threshold | -hilbert | -dither8 | -d8 | -cluster3 |
-c3 | -cluster4 | -c4 | -cluster8 | -c8]
[-value val]
[-clump size]
[pgmfile]
DESCRIPTION
This program is part of Netpbm(1).
This program is obsolete since Netpbm 10.23 (July 2004). Use
pamditherbw(1)todowhatthisprogram used to do.
pgmtopbm never was the simple converter it appeared to be. It was a
dithering program. Unfortunately, it didn't do the dithering properly
because it treated the PGM input samples as if they were directly pro‐
portional to light intensity, but they are actually gamma-adjusted.
pamditherbw is backward compatible with pgmtopbm except that it does
the correct gamma adjustments.
netpbm documentation 20 June 2004 Pgmtopbm User Manual(0)