version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
pnmtoddif |
|
|
2 |
!!!pnmtoddif |
|
|
3 |
Name |
|
|
4 |
Syntax |
|
|
5 |
OPTIONS |
|
|
6 |
DESCRIPTION |
|
|
7 |
AUTHOR |
|
|
8 |
---- |
|
|
9 |
!!Name |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
pnmtoddif - Convert a portable anymap to DDIF format |
|
|
13 |
!!Syntax |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__pnmtoddif__ pnmtoddif [[-resolution x y] [[pnmfile |
|
|
17 |
[[ddiffile]] |
|
|
18 |
!!OPTIONS |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
''resolution x y'' |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The horizontal and vertical resolution of the output image |
|
|
25 |
in dots per inch. Defaults to 78 dpi. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
''pnmfile'' The filename for the image file in pnm |
|
|
29 |
format. If this argument is omitted, input is read from |
|
|
30 |
stdin. |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
''ddiffile'' |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
The filename for the image file to be created in DDIF |
|
|
37 |
format. If this argument is omitted, the ddiffile is written |
|
|
38 |
to standard output. It can only specified if a pnmfile is |
|
|
39 |
also specified. |
|
|
40 |
!!DESCRIPTION |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
pnmtoddif takes a portable anymap from standard |
|
|
44 |
input and converts it into a DDIF image file on standard |
|
|
45 |
output or the specified DDIF file. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
pbm format (bitmap) data is written as 1 bit DDIF, pgm |
|
|
49 |
format data (greyscale) as 8 bit greyscale DDIF, and ppm |
|
|
50 |
format data is written as 8,8,8 bit color DDIF. All DDIF |
|
|
51 |
image files are written as uncompressed. The data plane |
|
|
52 |
organization is interleaved by pixel. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
In addition to the number of pixels in the width and height |
|
|
56 |
dimension, DDIF images also carry information about the size |
|
|
57 |
that the image should have, that is, the physical space that |
|
|
58 |
a pixel occupies. PBMPLUS images do not carry this |
|
|
59 |
information, hence it has to be externally supplied. The |
|
|
60 |
default of 78 dpi has the beneficial property of not causing |
|
|
61 |
a resize on most Digital Equipment Corporation color |
|
|
62 |
monitors. |
|
|
63 |
!!AUTHOR |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
Burkhard Neidecker-Lutz |
|
|
67 |
Digital Equipment Corporation, CEC Karlsruhe |
|
|
68 |
neideck@nestvx.enet.dec.com |
|
|
69 |
---- |