1Pnmtoddif User Manual(0) Pnmtoddif User Manual(0)
2
3
4
6 pnmtoddif - Convert a PNM image to DDIF format
7
8
10 pnmtoddif [-resolution x y] [pnmfile [ddiffile]]
11
12
14 This program is part of Netpbm(1).
15
16 pnmtoddif takes a PNM image and converts it into a DDIF image file.
17
18 pnmtoddif writes PBM format (bitmap) data as a 1 bit DDIF, PGM format
19 data (grayscale) as an 8 bit grayscale DDIF, and PPM format (color)
20 data as an 8,8,8 bit color DDIF. pnmtoddif writes any DDIF image file
21 uncompressed. The data plane organization is interleaved by pixel.
22
23 In addition to the number of pixels in the width and height dimension,
24 DDIF images also carry information about the size that the image should
25 have, that is, the physical space that a pixel occupies. Netpbm images
26 do not carry this information, hence you have to supply it externally.
27 The default of 78 dpi has the beneficial property of not causing a
28 resize on most Digital Equipment Corporation color monitors.
29
30
32 resolution x y
33 The horizontal and vertical resolution of the output image in
34 dots per inch. Default is 78 dpi.
35
36
37
38
40 pnmfile
41 The filename for the image file in pnm format. Default is to
42 read from Standard Input.
43
44
45 ddiffile
46 The filename for the image file to be created in DDIF format.
47 By default, pnmtoddif writes to Standard Output.
48
49
50
51
53 Burkhard Neidecker-Lutz, Digital Equipment Corporation, CEC Karlsruhe
54 neideck@nestvx.enet.dec.com
55
56
57
58netpbm documentation 2003 Pnmtoddif User Manual(0)