1Pgmtopbm User Manual(0)                                Pgmtopbm User Manual(0)
2
3
4

NAME

6       pgmtopbm - convert a PGM image to PBM
7
8

SYNOPSIS

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

DESCRIPTION

23       This program is part of Netpbm(1).
24
25       This  program  is  obsolete  since  Netpbm  10.23  (July  2004).    Use
26       pamditherbw(1)todowhatthisprogram 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
47
48netpbm documentation             20 June 2004          Pgmtopbm User Manual(0)
Impressum