svg2png - Render SVG into PNG
svg2png file1.svg file2.svg file3.svg
This renders SVG (Scalable Vector Graphics) into PNG (Portable Network Graphics) using the Perl module Image::CairoSVG.
The output file is named after the input file, with the suffix .svg replaced with .png, so example-file.svg is rendered into example-file.png. If the input file does not have the suffix .svg, the suffix .png is added, so the output of example-file is named example-file.png
.svg
.png
This switches on debugging messages.
For author information, copyright, licence, and details of the rendering, please refer to the documentation for Image::CairoSVG.
To install Image::CairoSVG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::CairoSVG
CPAN shell
perl -MCPAN -e shell install Image::CairoSVG
For more information on module installation, please visit the detailed CPAN module installation guide.