\ .\" This man page was generated by the Netpbm tool 'makeman' from HTML source. .\" Do not hand-hack it! If you have bug fixes or improvements, please find .\" the corresponding HTML page on the Netpbm website, generate a patch .\" against that, and send it to the Netpbm maintainer. .TH "Pgmtopbm User Manual" 0 "20 June 2004" "netpbm documentation" .SH NAME pgmtopbm - convert a PGM image to PBM .SH SYNOPSIS \fBpgmtopbm\fP [\fB-floyd\fP | \fB-fs\fP | \fB-threshold\fP | \fB-hilbert\fP | \fB-dither8\fP | \fB-d8\fP | \fB-cluster3\fP | \fB-c3\fP | \fB-cluster4\fP | \fB-c4\fP | \fB-cluster8\fP | \fB-c8\fP] [\fB-value\fP \fIval\fP] [\fB-clump\fP \fIsize\fP] [\fIpgmfile\fP] .SH DESCRIPTION .PP This program is part of .BR "Netpbm" (1)\c \&. .PP This program is obsolete since Netpbm 10.23 (July 2004). Use .BR "\fBpamditherbw\fP" (1)\c \& to do what this program used to do. .PP \fBpgmtopbm\fP 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. .PP \fBpamditherbw\fP is backward compatible with \fBpgmtopbm\fP except that it .IP \(bu does the correct gamma adjustments. .IP \(bu produces PAM output instead of PBM. (Modern Netpbm programs that accept PBM input also accept PAM input, but if you need actual PBM, you can use \fBpamtopbm\fP with \fBpamditherbw\fP). So use the manual for \fBpamditherbw\fP for \fBpgmtopbm\fP, except ignore anything that says it was added after Netpbm Release 10.23 and ignore any options that are not shown in the synopsis above. .PP If you just want to convert a PGM image with maxval 1 to PBM, use .BR "\fBpamtopnm\fP" (1)\c \& .SH DOCUMENT SOURCE This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at .IP .B http://netpbm.sourceforge.net/doc/pgmtopbm.html .PP