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

xmltoppm

Syntax
xmltoppm --help
xmltoppm [-bgcol rrggbb] [name]
Synopsis

Convert an XML image representation to a 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.
nameinput image filename. If this is omitted the image will be read from standard input.
Description

Convert an XML image representation to Portable PixMap (PPM).

The PPM image file is written to standard output.

Examples
xmltoppm inp.xml > out.ppm

Convert XML file inp.xml to the PPM file out.ppm.

xmltoppm -bgcol ff0000 inp.xml > out.ppm

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