3

I need to render SVG files to other file formats (.png, for example.) What's a good application for performing that render or conversion?

Specifically, I need an application that runs on Windows.
I'd welcome suggestions for other platforms, as well.

random
  • 15,201
Jared
  • 2,669

6 Answers6

13

Inkscape can export SVG to bitmap formats.

phenry
  • 2,901
5

If you're on Linux (Ubuntu) use: rsvg-convert

jweede
  • 6,933
4

GIMP or Inkscape are usually very good at converting SVG to other formats.

Opening the SVG file in GIMP will cause it to ask you what size (resolution) to treat the file as to convert to a bitmap style image. You can then save it as you like.

Inkscape is a Vector editor, from which you can export to a plethora of formats. Open the file then select File > Export Bitmap.

PeterJCLaw
  • 2,804
3

The industry standard vector app is Adobe Illustrator. It's pricy, but robust and stuffed with pro grade features.

0

The other answers will work for ordinary (non-animated) SVGs. If your SVG is animated, you need to pick a frame-rate (since SVG animation is time-based whereas most other formats are frame-based), export frames, and convert the frames to your desired format. See Convert animated SVG to movie for details.

Mechanical snail
  • 7,963
  • 5
  • 48
  • 67
0

Found this using Inkscape via http://gastarbeiten.wordpress.com/2012/08/03/batch-convert-svg-to-png-with-inkscape-command-line/

$ cd your-directory-with-the-svgs/
$ for i in *; do inkscape $i --export-png=`echo $i | sed -e 's/svg$/png/'`; done

HTH

piku
  • 1