11 Dec
2007
11 Dec
'07
9:10 a.m.
Stéphane ANCELOT wrote:
Tobias Verbeke a écrit :
Dear list,
Would anyone have a script lying around to export inkscape SVGs to PNG from the commandline ?
rsvg
You could also use ImageMagick http://www.imagemagick.org/. You can even export SVG's to PNG's at 16-bit & with optional alpha channel. This is a good way to circumvent the 8-bit limitations of the Inkscape PNG export.
ImageMagick is invoked via command line. In the case of Inkscape/SVG, this would be something such as:
'convert -depth 16 -background transparent [your_SVG].svg [your_PNG].png'
And you can do much more! Imho, ImageMagick is just a great addition to Inkscape.
HTH,
Claus
--
Home Page - http://home.arcor.de/ccyrny/ [in English]
graf-o-matic 2.0 - http://grafomatic01.twoday.net/ [in German]
********** Powered by Ubuntu Linux - http://www.ubuntu.com/ ***********