\ .\" 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