Home| base |src.bin|graphic| ppmxtoppm Index

ppmxtoppm

Syntax
ppmxtoppm --help
ppmxtoppm [-bgcol rrggbb] [-a alphaname] [name]
Synopsis

Convert an extended Portable PixMap (PPMX) image to Portable PixMap (PPM).

Options
--helpprint the help message and exit.
-bgcol rrggbbset the background color of the output image to rrggbb, specified as the hexadecimal value for the 24-bit red,green and blue component color.
-alpha alphanamesave the alpha channel of the file as the file alphaname.
nameinput image filename. If this is omitted the image will be read from standard input.
Description

Convert an extended Portable PixMap (PPMX) image to Portable PixMap (PPM).

The PPM image file is written to standard output.

Examples
ppmxtoppm inp.ppmx > out.ppm

Convert PPMX file inp.ppmx to the PPM file out.ppm.

ppmxtoppm -bgcol ff0000 inp.ppmx > out.ppm

Convert PPMX file inp.ppmx to the PPM file out.ppm. Set the background color to ff0000 (Red).