Inkscape Multiple Exporter

Other sites and resources for Inkscape users.
User avatar
Lucas?
Posts: 13
Joined: Wed Jun 26, 2013 10:46 am

Inkscape Multiple Exporter

Postby Lucas? » Wed Jul 03, 2013 8:46 pm

Hello!
I'm glad to announce that my extension for Inkscape is done. :D
The purpose of this extension is to allow one to select multiple objects/groups and then export those to their own PNG files in just some few clicks.

Its use is pretty straight forward. Just extract the .exe and .inx files to inkscape/share/extensions/ and when you initialize/reinitialize inkscape there should be a new sub-tab on the Extensions menu called "Multiple Export". There's a help file included for further information.

I'm showing a sample SVG printed image and the resultant files on the respective folder.
SVG:
Image
Ignore the texts and arrows. They are there just for marking weither what's a group and what's an object.

Resultant images (after using the extension):
https://dl.dropboxusercontent.com/u/19426320/ExtensionResult.png
A copy of the original SVG file is also generated. You may delete it if you want.

Download from dropbox
Note: sadly, I have no available platform other than Windows to which I could compile this extension. So this is a Windows-only build.

Special thanks to Lazur URH and BetaTestingPro.

Important:
You must have inkscape.com installed in the same folder as inkscape.exe.
Last edited by Lucas? on Sun Jun 01, 2014 10:59 pm, edited 6 times in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: (New Windows Extension) Multiple Export

Postby Lazur » Wed Jul 03, 2013 10:30 pm

Works fine on win8!

It has some really great possibilities.
Made this gif with the extension:
Image
Just a thought: while it really works like a charm for the original purpose,
for such gif animations every exported png was imported in gimp as separate layers.
And for the gif part, each layer had it's alpha channel to be turned off.
So a suggestion that could make this extension be really helpful in other situations as well:
if there was an option to discard alpha channels,
or the ability to add some elements to each png-s
-like using the extension on a layer's elements, and exporting all the things on locked layers below/above them as well, onto each png-s-.

User avatar
Lucas?
Posts: 13
Joined: Wed Jun 26, 2013 10:46 am

Re: (New Windows Extension) Multiple Export

Postby Lucas? » Thu Jul 04, 2013 1:09 am

Thanks for the comment Lazur URH!

Lazur URH wrote:Works fine on win8!

Nice! That's very good to know. Thank you!

Lazur URH wrote:It has some really great possibilities.
Made this gif with the extension:
Image

Looking at your pic for the first time was pretty surprising! I didn't think about this possibility haha. That's an awesome gif indeed! I liked it!

Lazur URH wrote:Just a thought: while it really works like a charm for the original purpose,
for such gif animations every exported png was imported in gimp as separate layers.
And for the gif part, each layer had it's alpha channel to be turned off.
So a suggestion that could make this extension be really helpful in other situations as well:
if there was an option to discard alpha channels

Good to know it works fine for the job it was originally meant to do. For further effects that you can apply on the resultant files before importing them in GIMP, you can search up the web programs/alike for what you're aiming. For instance, to do what you described (remove the alpha-channel) you could use Format Factory to open up all the PNGs and convert them into BMPs.

Lazur URH wrote:or the ability to add some elements to each png-s
-like using the extension on a layer's elements, and exporting all the things on locked layers below/above them as well, onto each png-s-.

I'm really thankful for the adivice! But sadly, I'm not adding anything to this extension anymore. That's because I've already acomplished what I wanted with it, and just decided to share with people what I've got. Now I must get back to what I was doing before asking that question on this forum.

Hope I'm not disappointing anyone :P but that's it, I have some crazy stuff to do :) Hope you enjoy the extension anyway.
Last edited by Lucas? on Sat Jan 11, 2014 12:30 pm, edited 1 time in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: (New Windows Extension) Multiple Export

Postby Lazur » Thu Jul 04, 2013 1:44 am

I understand. Another reason for me to learn coding sometime.
Again, thank's for the sharing!

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: (New Windows Extension) Multiple Export

Postby hulf2012 » Thu Jul 04, 2013 5:01 am

Hello

It's a great extension, with a lot of possibilities...
To be honest, I wish it was written in python, but it's ok.

Anyway, this a "dumb" question but ... It's just I want to be sure!!
How do you compile it?:

Code: Select all

"g++ main.cpp inkscape_multiple_exporter.exe" ???
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

User avatar
Lucas?
Posts: 13
Joined: Wed Jun 26, 2013 10:46 am

Re: (New Windows Extension) Multiple Export

Postby Lucas? » Thu Jul 04, 2013 12:42 pm

Lazur URH wrote:I understand. Another reason for me to learn coding sometime.
Again, thank's for the sharing!

No problem ;) Good luck!

hulf2012 wrote:Hello

It's a great extension, with a lot of possibilities...
To be honest, I wish it was written in python, but it's ok.

Thank you! But why in the world you'd prefer it was written in Python?

hulf2012 wrote:Anyway, this a "dumb" question but ... It's just I want to be sure!!
How do you compile it?

I'm afraid I can't answer your question right now, since I have never used the command line to compile any code. I use an IDE called Code::Blocks with the compiler mingw32 (a Win32 port of GCC) and just use the normal build GUI option. Code::Blocks, as well GCC are avaliable for many platforms. Download Code::Blocks on the platform you use, create a new project, add main.cpp into it and simply build it (of course, there will be erros if you're not compiling for Windows).

PS.: Just for the record, I marked with #ifdefs the parts of the code which contain lines only compilable for Windows.

EpsylonL
Posts: 3
Joined: Tue Mar 24, 2015 11:12 am

Re: Inkscape Multiple Exporter

Postby EpsylonL » Wed Mar 25, 2015 5:00 am

Thank you, just what I needed :)

(works fine on win7 64bit with inkscape 0.91)

jmrub
Posts: 4
Joined: Thu Nov 29, 2018 4:55 am

Re: Inkscape Multiple Exporter

Postby jmrub » Thu Nov 29, 2018 4:57 am

I am looking to get this extension but the DL link apears to be broken.

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

Re: Inkscape Multiple Exporter

Postby Moini » Fri Nov 30, 2018 2:46 am

I have this déjà vu - haven't I replied here yesterday? With a link to this extension: https://gitlab.com/su-v/inx-exportobjects ? And even had a reply by jmrub, who wanted to test it?

Or was that somewhere else? Has my answer been removed? I'm a bit confused at the moment.
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)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Inkscape Multiple Exporter

Postby brynn » Fri Nov 30, 2018 3:58 pm

I don't see any actions in the moderation log about this topic.

Oh, I see. jmrub posted about this twice. You probably answered in the other topic.

jmrub
Posts: 4
Joined: Thu Nov 29, 2018 4:55 am

Re: Inkscape Multiple Exporter

Postby jmrub » Sun Dec 02, 2018 2:31 am

Yes, thanks guys. Moini I think you posted a link to another exporter that works with some workarounds. I posted in this thread in hopes of getting access to the original one I was using.

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

Re: Inkscape Multiple Exporter

Postby Moini » Sun Dec 02, 2018 3:36 am

Hehe, thanks for clarifying :)
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 “Inkscape Resources”