Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/ximtoppm.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Ximtoppm User Manual
.SH 1
ximtoppm
.LP
Updated: April 2, 2000
.br
Table Of Contents
.SH 2
NAME
.LP
ximtoppm - convert an Xim file to a PPM image
.SH 2
SYNOPSIS
.LP
\fBximtoppm\fR
[\fB--alphaout=\fR{\fIalpha-filename\fR,\fB-\fR}]
[\fIximfile\fR]
.LP
You can abbreviate any option to its shortest unique prefix.
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBximptoppm\fR reads an Xim file as input and produces a PPM
image as output.  The Xim toolkit is included in the contrib tree of
the X.V11R4 release.
.SH 2
OPTIONS
.LP
.RS
.IP "\fB--alphaout=\fR\fIalpha-filename\fR"
\fBximtoppm\fR creates a PGM file containing the alpha channel
values in the input image.  If the input image doesn't contain an
alpha channel, the \fIalpha-filename\fR file contains all zero
(transparent) alpha values.  If you don't specify \fB--alphaout\fR,
\fBximtoppm\fR does not generate an alpha file, and if the input
image has an alpha channel, \fBximtoppm\fR simply discards it.
.LP
If you specify \fB-\fR as the filename, \fBximtoppm\fR writes the
alpha output to Standard Output and discards the image.
.LP
Actually, an Xim image can contain an arbitrary fourth channel --
it need not be an Alpha channel.  \fBximtoppm\fR extracts any fourth
channel it finds as described above; it doesn't matter if it is an
alpha channel or not.
.LP
See \fBpamcomp\fR for one way to use
the alpha output file.
.RE
.SH 2
SEE ALSO
.LP
\fBpamcomp\fR,
\fBppm\fR
.SH 2
AUTHOR
.LP
.LP
Copyright (C) 1991 by Jef Poskanzer.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.