On 27 November 2011 00:18, Mark Voorhies <mark.voorhies@...2508...> wrote:
Do we have an inkscape make script to convert inkscape-svg to plain-svg when compiling/building programs that include svg files?
Is this what you're looking for?
inkscape --export-plain-svg=stripped.svg inkscape.svg
Yes and in a way no, you see having inkscape are a build dependency would probably be considered unacceptable for most build servers, or at least slow down the processing of package building enough for it to be not useful.
I'm imagining something light and probably Independent. Perhaps even a script to automatically limits any xml structure to a set list of needed namespaces would be quite cute.
2011/11/27 Martin Owens <doctormo@...400...>:
I'm imagining something light and probably Independent. Perhaps even a script to automatically limits any xml structure to a set list of needed namespaces would be quite cute.
There is a script called "Scour" in our extensions, perhaps this is what you are looking for. However, I don't think stripping the icons of editing information is really necessary. It doesn't cause any problems - they display fine in all renderers and take only a little more space, and integrating this step into the Autotools build system would be more trouble than it's worth.
Regards, Krzysztof
On Mon, 2011-11-28 at 14:01 +0100, Krzysztof Kosiński wrote:
There is a script called "Scour" in our extensions, perhaps this is what you are looking for. However, I don't think stripping the icons of editing information is really necessary. It doesn't cause any problems - they display fine in all renderers and take only a little more space, and integrating this step into the Autotools build system would be more trouble than it's worth.
I was loading the svg files it other tools, and we're always trying to cut down on the size of the contents on the CD. The editing information doesn't take up much room per file, but how much room does it take up if all icons in an entire distro are svgs made in inkscape?
I think someone else looked into the problem already. Thanks for the pointer to Scour, it'll solve my immediate issues.
Martin,
On Monday, November 28, 2011 12:17:58 pm Martin Owens wrote:
On Mon, 2011-11-28 at 14:01 +0100, Krzysztof Kosiński wrote:
There is a script called "Scour" in our extensions, perhaps this is what you are looking for. However, I don't think stripping the icons of editing information is really necessary. It doesn't cause any problems - they display fine in all renderers and take only a little more space, and integrating this step into the Autotools build system would be more trouble than it's worth.
I was loading the svg files it other tools, and we're always trying to cut down on the size of the contents on the CD. The editing information doesn't take up much room per file, but how much room does it take up if all icons in an entire distro are svgs made in inkscape?
Just out of curiosity, how many icon clients that can handle svg can also handle gzipped svg?
From some spot checking on the Tango icon set, I would expect that you get ~1.4x reduction
from stripping Inkscape data vs. ~8x reduction from compressing.
--Mark
I think someone else looked into the problem already. Thanks for the pointer to Scour, it'll solve my immediate issues.
Martin,
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Krzysztof Kosiński
-
Mark Voorhies
-
Martin Owens