1Pnmtoxwd User Manual(0) Pnmtoxwd User Manual(0)
2
3
4
6 pnmtoxwd - convert a PNM into an X11 window dump
7
8
10 pnmtoxwd
11
12 [-pseudodepth n]
13
14 [-directcolor]
15
16 [pnmfile]
17
18
20 This program is part of Netpbm(1).
21
22 pnmtoxwd reads a PNM image as input and produces an X11 window dump as
23 output. You can display this output with xwud.
24
25 Normally, pnmtoxwd produces a StaticGray dump file for PBM and PGM
26 files. For PPM, it writes a PseudoColor dump file if there are up to
27 256 colors in the input, and a DirectColor dump file otherwise. You
28 can use the -directcolor option to force a DirectColor dump. And you
29 can use -pseudodepth to change the depth of PseudoColor dumps from the
30 default of 8 bits / 256 colors.
31
32 In an X11 window dump file, various integers can be represented in
33 either big endian (most significant byte first) or little endian code.
34 Those generated by pnmtoxwd are always big endian.
35
36
37
39 xwdtopnm(1), pnm(1), xwud
40
41
43 Copyright (C) 1989, 1991 by Jef Poskanzer.
44
45
46
47netpbm documentation 24 September 1991 Pnmtoxwd User Manual(0)