Open duncanperham opened 3 years ago
same here with Inkscape 1.1
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 ðŸ˜
Main issue is the -e is now "--export-filename" - i added a pr that should fix this.
Thank you @kuhnchris , it works again with your code (v 1.0.1 on Ubuntu here)
you can export layers as png without any plugin now, look this: https://www.youtube.com/watch?v=5iaTyCGrWy4&t=730s
@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).
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.
@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
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).
Code is out of date and will not run anymore, needs updating.