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.

0

6 Answers 6

13

Inkscape can export SVG to bitmap formats.

2
  • 3
    Agreed, Inkscape is a great choice for this. Specifically, you'll need to open the .svg file, go to File -> Export Bitmap (or hit Ctrl+Shift+E), select your options, and click Export. Aug 28, 2009 at 15:14
  • 1
    You can also rasterize SVG to PNG from the command line, and the results are nicer looking than Batik too.
    – teabot
    Aug 28, 2009 at 15:22
5

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

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.

0
3

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

1
  • 1
    You don't need illustrator to render an svg. Jan 25, 2012 at 2:09
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.

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

Not the answer you're looking for? Browse other questions tagged .