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