Syntax |
|
ppmtoxml --help ppmtoxml [-name iname] [name] ppmtoxml -alpha alpha [-name iname] [name]
|
Synopsis |
| Convert a Portable PixMap (PPM) image to an XML representation. |
Options |
|
--help | print the help message and exit. |
-name iname | set the image name in the output image to iname. |
-alpha alpha | set alpha channel for all pixels to thvalue given by alpha. The value can be given as a decimal, percentage or hexadecimal. |
name | input image filename. If this is omitted the image will be read from standard input. |
|
Description |
| Convert a Portable PixMap (PPM) image to an XML representation.
The XML representation is written to standard output.
|
Examples |
|
ppmtoxml -name "rplot" inp.ppm > out.xml |
Convert PPM file inp.ppm to the XML file out.xml . Set the image name to "rplot ".
ppmtoppmx -alpha 80% inp.ppm > out.xml |
Convert PPM file inp.ppm to the XML representation out.xml . The alpha channel is set to 80%.
|