Hi,
Is it possible to reduce the size of a SVG file by cutting off (some or all of) the digits of numbers behind the decimal point automatically? Can this be done within Inkscape or is it possible to write a script to extend Inkscape? (With regular expressions and a scripting laanguage it would be possible but I would like to know if a feature like this already exists.
It should work like this:
Before:
<path d="M 197.50906,180.93358 C 208.42611,171.19005 243.09749,175.25444 255.13174,160.93358 C 258.56906,156.84315 258.33300,147.20836 258.33300,140.93358" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.0585089px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" id="path1310" />
After:
<path d="M 197,180 C 208,171 243,175 255,160 C 258,156 258,147 258,140"
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.0585089px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" id="path1310" />
Thanks in advance!
Best regards, Henning