|
|
| |
svg2png(1) |
FreeBSD General Commands Manual |
svg2png(1) |
svg2png - Render an SVG image to a PNG image (using cairo)
svg2png [OPTIONS] [SVG_input_file [PNG_output_file]]
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.
- -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.
Carl Worth, USC/Information Sciences Institute
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |