blob: 083840ddfa8e9f9141dccdb61fb59a0c38378e66 (
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
|
\
.\" 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" 0 "24 September 1991" "netpbm documentation"
.UN lbAB
.SH NAME
pnmtoxwd - convert a PNM into an X11 window dump
.UN lbAC
.SH SYNOPSIS
\fBpnmtoxwd\fP
[\fB-pseudodepth\fP \fIn\fP]
[\fB-directcolor\fP]
[\fIpnmfile\fP]
.UN lbAD
.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. You
can use the \fB-directcolor\fP option to force a DirectColor dump.
And you can use \fB-pseudodepth\fP to change the depth of PseudoColor
dumps from the default of 8 bits / 256 colors.
.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 lbAE
.SH SEE ALSO
.BR "xwdtopnm" (1)\c
\&,
.BR "pnm" (5)\c
\&,
\fBxwud\fP
.UN lbAF
.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
|