| 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 "Ximtoppm User Manual" 1 "02 April 2000" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
|
| 10 |
ximtoppm - convert an Xim file to a PPM image |
| 11 |
|
| 12 |
.UN synopsis |
| 13 |
.SH SYNOPSIS |
| 14 |
|
| 15 |
\fBximtoppm\fP |
| 16 |
|
| 17 |
[\fB--alphaout=\fP{\fIalpha-filename\fP,\fB-\fP}] |
| 18 |
[\fIximfile\fP] |
| 19 |
|
| 20 |
.UN description |
| 21 |
.SH DESCRIPTION |
| 22 |
.PP |
| 23 |
This program is part of |
| 24 |
.BR "Netpbm" (1)\c |
| 25 |
\&. |
| 26 |
.PP |
| 27 |
\fBximptoppm\fP reads an Xim file as input and produces a PPM |
| 28 |
image as output. The Xim toolkit is included in the contrib tree of |
| 29 |
the X.V11R4 release. |
| 30 |
|
| 31 |
.UN options |
| 32 |
.SH OPTIONS |
| 33 |
.PP |
| 34 |
In addition to the options common to all programs based on libnetpbm |
| 35 |
(most notably \fB-quiet\fP, see |
| 36 |
.UR index.html#commonoptions |
| 37 |
Common Options |
| 38 |
.UE |
| 39 |
\&), \fBximtoppm\fP recognizes the following |
| 40 |
command line option: |
| 41 |
.PP |
| 42 |
You can abbreviate any option to its shortest unique prefix. |
| 43 |
|
| 44 |
|
| 45 |
.TP |
| 46 |
\fB--alphaout=\fP\fIalpha-filename\fP |
| 47 |
\fBximtoppm\fP creates a PGM file containing the transparency channel |
| 48 |
values in the input image. If the input image doesn't contain a |
| 49 |
transparency channel, the \fIalpha-filename\fP file contains all zero |
| 50 |
(transparent) transparency values. If you don't specify \fB--alphaout\fP, |
| 51 |
\fBximtoppm\fP does not generate a transparency file, and if the input |
| 52 |
image has a transparency channel, \fBximtoppm\fP simply discards it. |
| 53 |
.sp |
| 54 |
If you specify \fB-\fP as the filename, \fBximtoppm\fP writes the |
| 55 |
transparency output to Standard Output and discards the image. |
| 56 |
.sp |
| 57 |
Actually, an Xim image can contain an arbitrary fourth channel -- |
| 58 |
it need not be a transparency channel. \fBximtoppm\fP extracts any fourth |
| 59 |
channel it finds as described above; it doesn't matter if it is a |
| 60 |
transparency channel or not. |
| 61 |
.sp |
| 62 |
See |
| 63 |
.BR "pamcomp" (1)\c |
| 64 |
\& for one way to use |
| 65 |
the transparency output file. |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
.UN seealso |
| 70 |
.SH SEE ALSO |
| 71 |
.BR "pamcomp" (1)\c |
| 72 |
\&, |
| 73 |
.BR "ppm" (1)\c |
| 74 |
\& |
| 75 |
|
| 76 |
.UN author |
| 77 |
.SH AUTHOR |
| 78 |
.PP |
| 79 |
Copyright (C) 1991 by Jef Poskanzer. |
| 80 |
.SH DOCUMENT SOURCE |
| 81 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 82 |
source. The master documentation is at |
| 83 |
.IP |
| 84 |
.B http://netpbm.sourceforge.net/doc/ximtoppm.html |
| 85 |
.PP |