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 This will tell you whether you need to use pamscale.
28
29 Then use one of the following pipelines:
30 fstopgm | pnmnorm
31 fstopgm | pamscale -whatever | pnmnorm
32
33 To go to PBM, you want something more like one of these:
34 fstopgm | pamenlarge 3 | pnmnorm | pamditherbw
35 fstopgm | pamenlarge 3 | pamscale <whatever> | pnmnorm | pamditherbw
36
37 You want to enlarge when going to a bitmap because otherwise you lose
38 information; but enlarging by more than 3 does not look good.
39
40 FaceSaver is a registered trademark of Metron Computerware Ltd. of Oak‐
41 land, CA.
42
43
44
46 There are no command line options defined specifically for fstopgm, but
47 it recognizes the options common to all programs based on libnetpbm
48 (See
49 Common Options ⟨index.html#commonoptions⟩ .)
50
51
53 pgmtofs(1), pgm(1), pnmnorm(1), pamenlarge(1), pamscale(1),
54 pamditherbw(1)
55
56
57
59 Copyright (C) 1989 by Jef Poskanzer.
60
62 This manual page was generated by the Netpbm tool 'makeman' from HTML
63 source. The master documentation is at
64
65 http://netpbm.sourceforge.net/doc/fstopgm.html
66
67netpbm documentation 06 April 89 Fstopgm User Manual(0)