| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pnmtoxwd User Manual" 1 "24 September 1991" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
pnmtoxwd - convert a PNM into an X11 window dump |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBpnmtoxwd\fP |
| 16 |
|
| 17 |
[\fB-pseudodepth\fP \fIn\fP] |
| 18 |
|
| 19 |
[\fB-directcolor\fP] |
| 20 |
|
| 21 |
[\fIpnmfile\fP] |
| 22 |
|
| 23 |
.UN description |
| 24 |
.SH DESCRIPTION |
| 25 |
.PP |
| 26 |
This program is part of |
| 27 |
.BR "Netpbm" (1)\c |
| 28 |
\&. |
| 29 |
.PP |
| 30 |
\fBpnmtoxwd\fP reads a PNM image as input and produces an X11 |
| 31 |
window dump as output. You can display this output with \fBxwud\fP. |
| 32 |
.PP |
| 33 |
Normally, pnmtoxwd produces a StaticGray dump file for PBM and PGM |
| 34 |
files. For PPM, it writes a PseudoColor dump file if there are up to |
| 35 |
256 colors in the input, and a DirectColor dump file otherwise. |
| 36 |
.PP |
| 37 |
In an X11 window dump file, various integers can be represented in |
| 38 |
either big endian (most significant byte first) or little endian code. |
| 39 |
Those generated by \fBpnmtoxwd\fP are always big endian. |
| 40 |
|
| 41 |
.UN options |
| 42 |
.SH OPTIONS |
| 43 |
.PP |
| 44 |
In addition to the options common to all programs based on libnetpbm |
| 45 |
(most notably \fB-quiet\fP, see |
| 46 |
.UR index.html#commonoptions |
| 47 |
Common Options |
| 48 |
.UE |
| 49 |
\&), \fBpnmtoxwd\fP recognizes the following |
| 50 |
command line options: |
| 51 |
|
| 52 |
|
| 53 |
.TP |
| 54 |
\fB-directcolor\fP |
| 55 |
.sp |
| 56 |
Output in DirectColor format. |
| 57 |
|
| 58 |
.TP |
| 59 |
\fB-pseudodepth\fP \fI1-16\fP |
| 60 |
.sp |
| 61 |
Set the depth of PseudoColor dump in bits. Values between 1 to 16 are |
| 62 |
accepted. Default is 8 (for a maximum of 256 colors.) |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
.UN seealso |
| 67 |
.SH SEE ALSO |
| 68 |
.BR "xwdtopnm" (1)\c |
| 69 |
\&, |
| 70 |
.BR "pnm" (1)\c |
| 71 |
\&, |
| 72 |
\fBxwud\fP |
| 73 |
|
| 74 |
.UN author |
| 75 |
.SH AUTHOR |
| 76 |
|
| 77 |
Copyright (C) 1989, 1991 by Jef Poskanzer. |
| 78 |
.SH DOCUMENT SOURCE |
| 79 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 80 |
source. The master documentation is at |
| 81 |
.IP |
| 82 |
.B http://netpbm.sourceforge.net/doc/pnmtoxwd.html |
| 83 |
.PP |