I received a SVG that I paid which is made entirely in Inkscape. The designer decided to pack 83 different vector images in one file, one image per layer. Not a bad idea as she planned to use same palette, typography, etc. for all layers.
My problem is that I cannot export each layer because the files crahses continuosly.
Firstly I have tried to use the command-line, but i doesn't like to work:
I am using this line in Lubuntu 20.10 with distro-repos Inkscape (Inkscape 1.0.1 (3bc2e813f5, 2020-09-07). Pango version: 1.46.2), no snap, no flatpak.
Secondly, it crashes whenever I try to Show a layer in GUI. It crashes after two seconds after I clic on the icon. Here is the output:
Thanks for your quick response. The extension worked well. I did as you suggested (removing the slashes from the names in some layers).
However, the text objects in most layers were exported with the minimal size. I suppose the designer did not standarize the style for all of them.
I also found another extension, which can accomplish the same job (except for exporting to PNGor JPEG). It didn't worked in my case (I believe because I use python3; maybe I will tinker it so it can work on my system): https://github.com/jespino/inkscape-export-layers
Thank you very much. I can say that my problem is solved!
Hello, everybody
I received a SVG that I paid which is made entirely in Inkscape. The designer decided to pack 83 different vector images in one file, one image per layer. Not a bad idea as she planned to use same palette, typography, etc. for all layers.
My problem is that I cannot export each layer because the files crahses continuosly.
Firstly I have tried to use the command-line, but i doesn't like to work:
I am using this line in Lubuntu 20.10 with distro-repos Inkscape (Inkscape 1.0.1 (3bc2e813f5, 2020-09-07). Pango version: 1.46.2), no snap, no flatpak.
Secondly, it crashes whenever I try to Show a layer in GUI. It crashes after two seconds after I clic on the icon. Here is the output:
I mean, I can open the file and see the Fonts substitution dialog, but later, when trying to work on the file, it crashes.
I really need to export the images, and be able to see each layer alone.
How can I repair the XML file so I can work on it?
How can I batch export all layers, each layer on one image?
I used an extension "Export layers to SVG" (Inkscape v.92.2) . It worked ok after removing the slashes (/) from the layer labels.
Because of the large number of filters used in the images, I suggest keeping the Inkscape window as small as possible.
Hi, @TylerDurden !
Thanks for your quick response. The extension worked well. I did as you suggested (removing the slashes from the names in some layers).
However, the text objects in most layers were exported with the minimal size. I suppose the designer did not standarize the style for all of them.
I also found another extension, which can accomplish the same job (except for exporting to PNGor JPEG). It didn't worked in my case (I believe because I use python3; maybe I will tinker it so it can work on my system): https://github.com/jespino/inkscape-export-layers
Thank you very much. I can say that my problem is solved!