[solved] Can I batch export multiple objects (groups) all at once to png files?

Post questions on how to use or achieve an effect in Inkscape.
Vectorator
Posts: 96
Joined: Tue Oct 21, 2014 1:40 pm
Location: Australia

[solved] Can I batch export multiple objects (groups) all at once to png files?

Postby Vectorator » Fri Mar 18, 2016 11:03 pm

If I have many objects on the page and I give each one an id field name is there any way to export them all at once each to a separate png file with the id field as filename.

I can do it with the export dialog but only one at a time by selecting 'selection' then 'export'.

Or is there some sort of script etc. or extension that can do this?

Vectorator
Posts: 96
Joined: Tue Oct 21, 2014 1:40 pm
Location: Australia

Re: Can I batch export multiple objects (groups) all at once to png files?

Postby Vectorator » Fri Mar 18, 2016 11:31 pm

Ok I found a script to do it.
https://github.com/berteh/svg-objects-export

Seems to work well so far

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Can I batch export multiple objects (groups) all at once to png files?

Postby Moini » Sat Mar 19, 2016 8:17 am

And this doesn't work?
Bildschirmfoto_2016-03-18_23-17-29.png
Bildschirmfoto_2016-03-18_23-17-29.png (70.49 KiB) Viewed 2276 times
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Vectorator
Posts: 96
Joined: Tue Oct 21, 2014 1:40 pm
Location: Australia

Re: Can I batch export multiple objects (groups) all at once to png files?

Postby Vectorator » Sat Mar 19, 2016 3:14 pm

Yes that works, I installed the plugin then noticed the batch export there and thought it was added with the plugin but if it's the default setup yeah it works great :)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Can I batch export multiple objects (groups) all at once to png files?

Postby Moini » Sun Mar 20, 2016 12:17 am

Yes, it's there by default :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”