DragonFly On-Line Manual Pages

Search: Section:  


svg2png(1)             DragonFly General Commands Manual            svg2png(1)

NAME

svg2png - Render an SVG image to a PNG image (using cairo)

SYNOPSIS

svg2png [OPTIONS] [SVG_input_file [PNG_output_file]]

EXAMPLE

svg2png tux.svg tux.png

DESCRIPTION

Renders the given SVG file to the given PNG file. Omitted filenames, or a single '-' for an input/output filename indicates that the standard input/output stream should be used rather than a file. Rendering is performed by the cairo graphics library.

OPTIONS

-w, --width=WIDTH Scale the image so that the output has a width of WIDTH pixels. The original aspect ratio is preserved. -h, --height=HEIGHT Scale the image so that the output has a height of HEIGHT pixels. The original aspect ratio is preserved. If both the --width and --height options are provided, the image will be scaled to the smaller dimension and will be centered within any extra space. -s, --scale=FACTOR Scale image by FACTOR. This option is ignored if either of the --width or --height options are provided. -x, --flipx Flip the output X coordinates. -y, --flipy Flip the output Y coordinates. --usage Give a short usage message. -?, --help Give a longer help list. -V, --version Print the svg2png program version.

SEE ALSO

The cairo graphics library http://cairographics.org/ <http://cairographics.org/>

AUTHOR

Carl Worth, USC/Information Sciences Institute 2004-04-19 svg2png(1)

Search: Section: