.TL Pgmtopbm User Manual .SH 1 pgmtopbm .LP Updated: 20 June 2004 .br Table Of Contents .SH 2 NAME .LP pgmtopbm - convert a PGM image to PBM .SH 2 SYNOPSIS .LP \fBpgmtopbm\fR [\fB-floyd\fR | \fB-fs\fR | \fB-threshold\fR | \fB-hilbert\fR | \fB-dither8\fR | \fB-d8\fR | \fB-cluster3\fR | \fB-c3\fR | \fB-cluster4\fR | \fB-c4\fR | \fB-cluster8\fR | \fB-c8\fR] [\fB-value\fR \fIval\fR] [\fB-clump\fR \fIsize\fR] [\fIpgmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP This program is obsolete since Netpbm 10.23 (July 2004). Use \fBpamditherbw\fR to do what this program used to do. .LP \fBpgmtopbm\fR 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 proportional to light intensity, but they are actually gamma-adjusted. .LP \fBpamditherbw\fR is backward compatible with \fBpgmtopbm\fR except that it does the correct gamma adjustments.