Bug #2286
closedSVG - reduce svg file size
0%
Description
SVG icons in kepler-docs/dev/usability/graphics/svg are mostly ~500MB in size.
Most of this is unneeded stuff that Illustrator put in the files, and can safely
be trimmed. I have already done this with director.svg, which therefore shows
which parts are important, and which can be deleted. This process should be
repeated for the remaining ~125 icons, before they get copied to the kepler
module for use in the UI.
Related issues
Updated by Matthew Brooke about 19 years ago
To do this, need to write a script that takes all files in
kepler-docs/dev/usability/graphics/svg and removes everything inside (and
including) the following XML tags in each one:
<metadata>...</metadata>
<switch>...</switch>
<i:pgf id="adobe_illustrator_pgf">...</i:pgf>
Updated by Matthew Brooke almost 19 years ago
done - checked in the script (to the
kepler-docs cvs module) for future use:
kepler-docs/dev/usability/graphics/stripAdobeNonSVGTags.sh