Debian Codegraph @

userguide/pnmtoxwd.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
2 <html><head><title>Pnmtoxwd User Manual</title></head>
3 <body>
4 <h1>pnmtoxwd</h1>
5 Updated: 24 September 1991
6 <br>
7 <a href="#index">Table Of Contents</a>
8
9 <h2>NAME</h2>
10
11 pnmtoxwd - convert a PNM into an X11 window dump
12
13 <h2 id="synopsis">SYNOPSIS</h2>
14
15 <b>pnmtoxwd</b>
16
17 [<b>-pseudodepth</b> <i>n</i>]
18
19 [<b>-directcolor</b>]
20
21 [<i>pnmfile</i>]
22
23 <h2 id="description">DESCRIPTION</h2>
24
25 <p>This program is part of <a href="index.html">Netpbm</a>.
26
27 <p><b>pnmtoxwd</b> reads a PNM image as input and produces an X11
28 window dump as output. You can display this output with <b>xwud</b>.
29
30 <p>Normally, pnmtoxwd produces a StaticGray dump file for PBM and PGM
31 files. For PPM, it writes a PseudoColor dump file if there are up to
32 256 colors in the input, and a DirectColor dump file otherwise.
33
34 <p>In an X11 window dump file, various integers can be represented in
35 either big endian (most significant byte first) or little endian code.
36 Those generated by <b>pnmtoxwd</b> are always big endian.
37
38 <h2 id="options">OPTIONS</h2>
39
40 <p>In addition to the options common to all programs based on libnetpbm
41 (most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
42 Common Options</a>), <b>pnmtoxwd</b> recognizes the following
43 command line options:
44
45 <dl compact>
46 <dt><b>-directcolor</b>
47
48 <dd>
49 <p>Output in DirectColor format.
50
51 <dt><b>-pseudodepth</b> <i>1-16</i>
52
53 <dd>
54 <p>Set the depth of PseudoColor dump in bits. Values between 1 to 16 are
55 accepted. Default is 8 (for a maximum of 256 colors.)
56
57 </dl>
58
59 <h2 id="seealso">SEE ALSO</h2>
60
61 <a href="xwdtopnm.html">xwdtopnm</a>,
62 <a href="pnm.html">pnm</a>,
63 <b>xwud</b>
64
65 <h2 id="author">AUTHOR</h2>
66
67 Copyright (C) 1989, 1991 by Jef Poskanzer.
68
69 <hr>
70 <h2 id="index">Table Of Contents</h2>
71 <ul>
72 <li><a href="#synopsis">SYNOPSIS</a>
73 <li><a href="#description">DESCRIPTION</a>
74 <li><a href="#options">OPTIONS</a>
75 <li><a href="#seealso">SEE ALSO</a>
76 <li><a href="#author">AUTHOR</a>
77 </ul>
78 </body>
79 </html>