3
Currently I do this in a BAT file:
Inkscape.exe --file "some.svg" --export-png "some_64.png" --export-width 64
Inkscape.exe --file "some.svg" --export-png "some_96.png" --export-width 96
Inkscape.exe --file "some.svg" --export-png "some_128.png" --export-width 128
But that is kind of slow to run Inkscape 3 times in a row and open the same file, plus you have to save the source svg file prior to running the export BAT and make sure the BAT gets the right filename.
So I'm wondering if there is a tool (or plugin) that allows programmatic, or batch, export from Inkscape, something like Export Bitmap dialog, but with scripting support?
I would use Gimp to do the export, as you can batch exports and easily use scripts to change what you need. I created my own batcher the other day for my question : http://gamedev.stackexchange.com/questions/12997/tool-to-convert-textures-to-power-of-two/13286#13286. I can help you out with that if you want.
– None – 2011-06-10T10:29:39.737