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 In addition to the options common to all programs based on libnetpbm
33 (most notably -quiet, see
34 Common Options ⟨index.html#commonoptions⟩ ), pnmtoddif recognizes the
35 following command line option:
36
37
38
39 resolution x y
40 The horizontal and vertical resolution of the output image in
41 dots per inch. Default is 78 dpi.
42
43
44
45
47 pnmfile
48 The filename for the image file in pnm format. Default is to
49 read from Standard Input.
50
51
52 ddiffile
53 The filename for the image file to be created in DDIF format.
54 By default, pnmtoddif writes to Standard Output.
55
56
57
58
60 pnm(1)
61
62
64 Burkhard Neidecker-Lutz, Digital Equipment Corporation, CEC Karlsruhe
65 neideck@nestvx.enet.dec.com
66
68 This manual page was generated by the Netpbm tool 'makeman' from HTML
69 source. The master documentation is at
70
71 http://netpbm.sourceforge.net/doc/pnmtoddif.html
72
73netpbm documentation 2003 Pnmtoddif User Manual(0)