Hello there, I'm new on this forum as well as on inkscape cli. I'm looking for a way to simplify a SVG without using the GUI (I have to repeat the task 294 times, so I do not consider doing it by hand).
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
segmentation fault (core dumped)
(should I file a bug ?)
and then I tried:
inkscape -z -f r.svg --verb=SelectionSimplify
yielding
WARNING: ignoring verb SelectionSimplify - GUI required for this verb.
Hello there, I'm new on this forum as well as on inkscape cli. I'm looking for a way to simplify a SVG without using the GUI (I have to repeat the task 294 times, so I do not consider doing it by hand).
I first tried:
which crashed into:
(should I file a bug ?)
and then I tried:
yielding
My svg file is pretty simple, it looks like:
with more points (that's why I would like to simplify).
And it's working in the GUI if I select the shape and press Ctrl+L.
So the question is: Is it possible to perform this in the terminal or not?
(Inkscape 0.92.3 on Ubuntu)
Don't use the -z option. It's needed for this to work currently, as the error message says.
Ok, so there is no way to use it from command line only. I found a workaround : exporting raster images and using directly potrace.