: 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
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.
More posts by @Pope1402555
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.