1Pgmtopbm User Manual(0) Pgmtopbm User Manual(0)
2
3
4
6 pgmtopbm - convert a PGM image to PBM
7
8
10 pgmtopbm
11
12 [-floyd | -fs | -threshold | -hilbert | -dither8 | -d8 | -cluster3 |
13 -c3 | -cluster4 | -c4 | -cluster8 | -c8]
14
15 [-value val]
16
17 [-clump size]
18
19 [pgmfile]
20
21
23 This program is part of Netpbm(1).
24
25 This program is obsolete since Netpbm 10.23 (July 2004). Use
26 pamditherbw(1) to do what this program used to do.
27
28 pgmtopbm never was the simple converter it appeared to be. It was a
29 dithering program. Unfortunately, it didn't do the dithering properly
30 because it treated the PGM input samples as if they were directly pro‐
31 portional to light intensity, but they are actually gamma-adjusted.
32
33 pamditherbw is backward compatible with pgmtopbm except that it
34
35
36 · does the correct gamma adjustments.
37
38 · produces PAM output instead of PBM. (Modern Netpbm programs
39 that accept PBM input also accept PAM input, but if you need
40 actual PBM, you can use pamtopbm with pamditherbw).
41
42 So use the manual for pamditherbw for pgmtopbm, except ignore
43 anything that says it was added after Netpbm Release 10.23 and
44 ignore any options that are not shown in the synopsis above.
45
46 If you just want to convert a PGM image with maxval 1 to PBM, use pam‐
47 topnm(1)
48
50 This manual page was generated by the Netpbm tool 'makeman' from HTML
51 source. The master documentation is at
52
53 http://netpbm.sourceforge.net/doc/pgmtopbm.html
54
55netpbm documentation 20 June 2004 Pgmtopbm User Manual(0)