ximtoppm1
Convert an xim file to a ppm image
Usage
ximtoppm
[--alphaout={alpha-filename,-}] [ximfile]
Overview
This program is part of Netpbm(1) .
ximptoppm 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.
Options
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ⟨index.html#commonoptions⟩ ), ximtoppm recognizes the following command line option:
You can abbreviate any option to its shortest unique prefix.
-
--alphaout=alpha-filename -
ximtoppmcreates a PGM file containing the transparency channel values in the input image. If the input image doesn't contain a transparency channel, the alpha-filename file contains all zero (transparent) transparency values. If you don't specify--alphaout,ximtoppmdoes not generate a transparency file, and if the input image has a transparency channel,ximtoppmsimply discards it.If you specify
-as the filename,ximtoppmwrites the transparency output to Standard Output and discards the image.Actually, an Xim image can contain an arbitrary fourth channel -- it need not be a transparency channel.
ximtoppmextracts any fourth channel it finds as described above; it doesn't matter if it is a transparency channel or not.See pamcomp(1) for one way to use the transparency output file.
Document source
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at
-
http://netpbm.sourceforge.net/doc/ximtoppm.html
Releases
16 releases since Debian 2.0 (Hamm); the text changed 3 times.
--alphaout since Debian 3.0 (Woody).