jespino / inkscape-export-layers

MIT License
40 stars 19 forks source link

No longer works #20

Open duncanperham opened 3 years ago

duncanperham commented 3 years ago

Code is out of date and will not run anymore, needs updating.

sebastienaubry commented 3 years ago

same here with Inkscape 1.1

ethanjurman commented 3 years ago

It looks like OptionParser.add_option should be updated with arg_parser.add_argument, but it seems like the arguments also need to be updated 😭

kuhnchris commented 3 years ago

Main issue is the -e is now "--export-filename" - i added a pr that should fix this.

cilex-ft commented 2 years ago

Thank you @kuhnchris , it works again with your code (v 1.0.1 on Ubuntu here)

zer0brain commented 2 years ago

you can export layers as png without any plugin now, look this: https://www.youtube.com/watch?v=5iaTyCGrWy4&t=730s

lvcivs commented 2 years ago

@zer0brain what do you mean "now", the video you linked is from 2015.

This plugin provides some extra features, so it is a pity that it does not work anymore. Sadly on Inkscape 1.1 it won't work for me even with @kuhnchris fix. (It installs, but when i run it nothing happens).

dmitry-t commented 2 years ago

There's a reworked extension version, if you are interested. Originally started as a fork but @jespino didn't respond so it's now a derived work.

kuhnchris commented 2 years ago

@zer0brain what do you mean "now", the video you linked is from 2015.

This plugin provides some extra features, so it is a pity that it does not work anymore. Sadly on Inkscape 1.1 it won't work for me even with @kuhnchris fix. (It installs, but when i run it nothing happens).

to be honest i haven't tried inkscape lately, so it might be that I need to adapt something for 1.1, if there is already an improved version, as @dmitry-t puts it, please use that one, if not, let me know and I'll take a look at it, can't be that much to get it back to work, probabbly some parameters changed again. :-)

All the best, Chris

lvcivs commented 2 years ago

OK, now I understand what @zer0brain meant: I tried out the latest Inkscape 1.2.1 and it has a built-in batch export feature that lets you export layers as PNGs.

This mostly satisfies my use case (althought it would still be nice to have the additional features of the plugin).