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 | pgmnorm
31 fstopgm | pamscale -whatever | pgmnorm
32
33 To go to PBM, you want something more like one of these:
34 fstopgm | pamenlarge 3 | pgmnorm | pamditherbw
35 fstopgm | pamenlarge 3 | pamscale <whatever> | pgmnorm | 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 pgmtofs(1), pgm(1), pgmnorm(1), pamenlarge(1), pamscale(1),
47 pamditherbw(1)
48
50 Copyright (C) 1989 by Jef Poskanzer.
51
52
53
54netpbm documentation 06 April 89 Fstopgm User Manual(0)