Mobile app version of vmapp.org
Login or Join
Pope1402555

: Programmatically hide certain elements in batch export of SVG with Inkscape I have some SVG images which I'm exporting to various formats by means of Inkscape's command-line interface, driven by

@Pope1402555

Posted in: #Export #Inkscape #Svg

I have some SVG images which I'm exporting to various formats by means of Inkscape's command-line interface, driven by a custom Rake task. This is working beautifully, but I'd like to be able to programmatically tell Inkscape to omit certain elements from the output. I can see command-line options that only include certain elements, but I have not found an option that only excludes certain elements.

Another way of accomplishing this might be to use CSS to tell Inkscape to hide the elements, but I haven't found a good way of doing that programmatically either.

Any ideas on how to accomplish this? I'm perfectly happy to use some other SVG manipulation tool if necessary to achieve this. (Ideally I want this to work on Mac OS and other Unix-like systems, and hopefully on Windows as well.)

My use case is that I'm trying to get two outputs from a single source, one with some visual guidelines in the output and one without.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope1402555

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme