Section: User Commands (1)
Updated: 06 May 2001Index
Return to Main Contents
xpmtoppm - convert an X11 pixmap into a portable pixmap
Reads an X11 pixmap (XPM version 1 or 3) as input. Produces a PPM
file as output.
creates a PBM file containing the transparency mask for the image. If
the input image doesn't contain transparency information, the
file contains all white (opaque) alpha values. If you don't specify
does not generate an alpha file, and if the input image has transparency
simply discards it.
If you specify
as the filename,
writes the alpha output to Standard Output and discards the image.
for one way to use the alpha output file.
prints information about its processing on Standard Error.
The support to XPM version 3 is limited. Comments can only be single lines
and there must be for every pixel a default colorname for a color type visual.
Copyright (C) 1991 by Jef Poskanzer.
Upgraded to support XPM version 3 by
Arnaud Le Hors (email@example.com)
Tue Apr 9 1991
- SEE ALSO