blob: 02ec9a94b43c2d61c860f38e47496521d30263d5 (
plain)
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
80
81
82
83
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pnmtoxwd User Manual" 1 "24 September 1991" "netpbm documentation"
.SH NAME
pnmtoxwd - convert a PNM into an X11 window dump
.UN synopsis
.SH SYNOPSIS
\fBpnmtoxwd\fP
[\fB-pseudodepth\fP \fIn\fP]
[\fB-directcolor\fP]
[\fIpnmfile\fP]
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpnmtoxwd\fP reads a PNM image as input and produces an X11
window dump as output. You can display this output with \fBxwud\fP.
.PP
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.
.PP
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 \fBpnmtoxwd\fP are always big endian.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpnmtoxwd\fP recognizes the following
command line options:
.TP
\fB-directcolor\fP
.sp
Output in DirectColor format.
.TP
\fB-pseudodepth\fP \fI1-16\fP
.sp
Set the depth of PseudoColor dump in bits. Values between 1 to 16 are
accepted. Default is 8 (for a maximum of 256 colors.)
.UN seealso
.SH SEE ALSO
.BR "xwdtopnm" (1)\c
\&,
.BR "pnm" (1)\c
\&,
\fBxwud\fP
.UN author
.SH AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pnmtoxwd.html
.PP
|