1Pnmtoxwd User Manual(0)                                Pnmtoxwd User Manual(0)
2
3
4

NAME

6       pnmtoxwd - convert a PNM into an X11 window dump
7
8

SYNOPSIS

10       pnmtoxwd
11
12       [-pseudodepth n]
13
14       [-directcolor]
15
16       [pnmfile]
17
18

DESCRIPTION

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.
28
29       In an X11 window dump file, various  integers  can  be  represented  in
30       either  big endian (most significant byte first) or little endian code.
31       Those generated by pnmtoxwd are always big endian.
32
33

OPTIONS

35       In addition to the options common to all programs  based  on  libnetpbm
36       (most notably -quiet, see
37        Common  Options  ⟨index.html#commonoptions⟩ ), pnmtoxwd recognizes the
38       following command line options:
39
40
41
42       -directcolor
43
44              Output in DirectColor format.
45
46
47       -pseudodepth 1-16
48
49              Set the depth of PseudoColor dump in bits.  Values between 1  to
50              16 are accepted.  Default is 8 (for a maximum of 256 colors.)
51
52
53
54

SEE ALSO

56       xwdtopnm(1), pnm(1), xwud
57
58

AUTHOR

60       Copyright (C) 1989, 1991 by Jef Poskanzer.
61

DOCUMENT SOURCE

63       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
64       source.  The master documentation is at
65
66              http://netpbm.sourceforge.net/doc/pnmtoxwd.html
67
68netpbm documentation           24 September 1991       Pnmtoxwd User Manual(0)
Impressum