Annotated edit history of
fstopgm(1) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
fstopgm |
|
|
2 |
!!!fstopgm |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
AUTHOR |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
2 |
perry |
12 |
fstopgm - convert a Usenix !FaceSaver(tm) file into a portable graymap |
1 |
perry |
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__fstopgm__ [[''fsfile''] |
|
|
17 |
!!DESCRIPTION |
|
|
18 |
|
|
|
19 |
|
2 |
perry |
20 |
Reads a Usenix !FaceSaver(tm) file as input. Produces a |
1 |
perry |
21 |
portable graymap as output. |
|
|
22 |
|
|
|
23 |
|
2 |
perry |
24 |
!FaceSaver(tm) files sometimes have rectangular pixels. While |
1 |
perry |
25 |
''fstopgm'' won't re-scale them into square pixels for |
|
|
26 |
you, it will give you the precise ''pnmscale'' command |
|
|
27 |
that will do the job. Because of this, reading a |
2 |
perry |
28 |
!FaceSaver(tm) image is a two-step process. First you |
1 |
perry |
29 |
do: |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
fstopgm |
|
|
33 |
This will tell you whether you need to use ''pnmscale.'' Then use one of the following pipelines: |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
fstopgm | pgmnorm |
|
|
37 |
fstopgm | pnmscale -whatever | pgmnorm |
|
|
38 |
To go to PBM, you want something more like one of these: |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
fstopgm | pnmenlarge 3 | pgmnorm | pgmtopbm |
|
|
42 |
fstopgm | pnmenlarge 3 | pnmscale |
|
|
43 |
You want to enlarge when going to a bitmap because otherwise you lose information; but enlarging by more than 3 does not look good. |
|
|
44 |
|
|
|
45 |
|
2 |
perry |
46 |
!FaceSaver is a registered trademark of Metron Computerware |
1 |
perry |
47 |
Ltd. of Oakland, CA. |
|
|
48 |
!!SEE ALSO |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
pgmtofs(1), pgm(5), pgmnorm(1), pnmenlarge(1), pnmscale(1), |
|
|
52 |
pgmtopbm(1) |
|
|
53 |
!!AUTHOR |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
Copyright (C) 1989 by Jef Poskanzer. |
|
|
57 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.