1Fstopgm User Manual(0) Fstopgm User Manual(0)
2
3
4
6 fstopgm - convert a Usenix FaceSaver(tm) file into a PGM image
7
8
9
11 fstopgm [fsfile]
12
13
15 This program is part of Netpbm(1).
16
17 fstopgm reads a Usenix FaceSaver(tm) file as input and produces a PGM
18 image as output.
19
20 FaceSaver(tm) files sometimes have rectangular pixels. While fstopgm
21 won't re-scale them into square pixels for you, it will give you the
22 precise pamscale command that will do the job. Because of this, read‐
23 ing a FaceSaver(tm) image is a two-step process. First you do:
24
25 fstopgm > /dev/null
26
27
28 This will tell you whether you need to use pamscale.
29
30 Then use one of the following pipelines:
31 fstopgm | pnmnorm
32 fstopgm | pamscale -whatever | pnmnorm
33
34
35 To go to PBM, you want something more like one of these:
36 fstopgm | pamenlarge 3 | pnmnorm | pamditherbw
37 fstopgm | pamenlarge 3 | pamscale <whatever> | pnmnorm | pamditherbw
38
39
40 You want to enlarge when going to a bitmap because otherwise you lose
41 information; but enlarging by more than 3 does not look good.
42
43 FaceSaver is a registered trademark of Metron Computerware Ltd. of Oak‐
44 land, CA.
45
46
47
49 There are no command line options defined specifically for fstopgm, but
50 it recognizes the options common to all programs based on libnetpbm
51 (See
52 Common Options ⟨index.html#commonoptions⟩ .)
53
54
56 pgmtofs(1), pgm(1), pnmnorm(1), pamenlarge(1), pamscale(1),
57 pamditherbw(1)
58
59
60
62 Copyright (C) 1989 by Jef Poskanzer.
63
65 This manual page was generated by the Netpbm tool 'makeman' from HTML
66 source. The master documentation is at
67
68 http://netpbm.sourceforge.net/doc/fstopgm.html
69
70netpbm documentation 06 April 89 Fstopgm User Manual(0)