Hello!
I'm glad to announce that my extension for Inkscape is done.
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:
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.
Inkscape Multiple Exporter
Inkscape Multiple Exporter
Last edited by Lucas? on Sun Jun 01, 2014 10:59 pm, edited 6 times in total.
Re: (New Windows Extension) Multiple Export
Works fine on win8!
It has some really great possibilities.
Made this gif with the extension:
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-.
It has some really great possibilities.
Made this gif with the extension:
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-.
Re: (New Windows Extension) Multiple Export
Thanks for the comment Lazur URH!
Nice! That's very good to know. Thank you!
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!
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.
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 but that's it, I have some crazy stuff to do Hope you enjoy the extension anyway.
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:
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 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.
Re: (New Windows Extension) Multiple Export
I understand. Another reason for me to learn coding sometime.
Again, thank's for the sharing!
Again, thank's for the sharing!
Re: (New Windows Extension) Multiple Export
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?:
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.
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.
Re: (New Windows Extension) Multiple Export
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.
Re: Inkscape Multiple Exporter
Thank you, just what I needed
(works fine on win7 64bit with inkscape 0.91)
(works fine on win7 64bit with inkscape 0.91)
Re: Inkscape Multiple Exporter
I am looking to get this extension but the DL link apears to be broken.
Re: Inkscape Multiple Exporter
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.
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: Inkscape Multiple Exporter
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.
Oh, I see. jmrub posted about this twice. You probably answered in the other topic.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Inkscape Multiple Exporter
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.
Re: Inkscape Multiple Exporter
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)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)