about summary refs log tree commit diff
path: root/pnmtoxwd.html
blob: a8def604f436ec725d2a69440098867c28435bc4 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//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>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

pnmtoxwd - convert a PNM into an X11 window dump

<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>pnmtoxwd</B>

[<B>-pseudodepth</B> <I>n</I>]

[<B>-directcolor</B>]

[<I>pnmfile</I>]

<A NAME="lbAD">&nbsp;</A>
<H2>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.  You
can use the <B>-directcolor</B> option to force a DirectColor dump.
And you can use <B>-pseudodepth</B> to change the depth of PseudoColor
dumps from the default of 8 bits / 256 colors.

<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.


<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="xwdtopnm.html">xwdtopnm</A>,
<A HREF="pnm.html">pnm</A>,
<b>xwud</b>

<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>

Copyright (C) 1989, 1991 by Jef Poskanzer.

<HR>
<A NAME="index">&nbsp;</A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#lbAB">NAME</A>
<LI><A HREF="#lbAC">SYNOPSIS</A>
<LI><A HREF="#lbAD">DESCRIPTION</A>
<LI><A HREF="#lbAE">SEE ALSO</A>
<LI><A HREF="#lbAF">AUTHOR</A>
</UL>
</BODY>
</HTML>