commands.sh

xpmtoppm

all

Convert an X11 pixmap to a PPM image.

More info →

Options (1)

-a, --alphaoutboolean

Store the transparency mask of the input image in the specified file

Example: xpmtoppm {{[-a|--alphaout]}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}

Examples (2)

Convert an XPM image to a PPM image

xpmtoppm path/to/input_file.xpm > path/to/output_file.ppm

Store the transparency mask of the input image in the specified file

xpmtoppm [-a|--alphaout] path/to/alpha_file.pbm path/to/input_file.xpm > path/to/output_file.ppm
made by @shridhargupta | data from tldr-pages