ximtoppm - convert an Xim file to a PPM image
ximtoppm
[--alphaout={alpha-filename,-}] [ximfile]
You can abbreviate any option to its shortest unique prefix.
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.
If you specify - as the filename, ximtoppm writes the alpha output to Standard Output and discards the image.
Actually, an Xim image can contain an arbitrary fourth channel -- it need not be an Alpha channel. ximtoppm extracts any fourth channel it finds as described above; it doesn't matter if it is an alpha channel or not.
See pamcomp(1) foronewaytouse the alpha output file.
Copyright (C) 1991 by Jef Poskanzer.