SVG-Optimiser
SVG-Optimiser copied to clipboard
A python module to clear up SVG files, especially those created in Inkscape
http://www.petercollingridge.appspot.com/svg-optimiser this fantastic tool at this url is no longer reachable
I guess it's been a while since this project ran.... I've updated it to "minimally" work on Python 3 (and run in a Docker Container using GitHub CodeSpace - easy)....
Sort of an odd request, I know, but it would go really well along with [SVGO](https://github.com/svg/svgo).
Since `jquery.js` isn't actually included with this project, linking to the latest version from the CDN makes the browser tool work out of the box.
I just had a svg break because I had a `<` in there and the optimizer just converted it into `
hi ,look follow: ` pc-dianhuae078-o Created with Sketch. ` this svg after the transformation,miss some part of the original information,what can I do
Try optimaze my svg on web-site: http://petercollingridge.appspot.com/svg-optimiser Original svg  After optimization:  You see that one element is missing Sources: [example.zip](https://github.com/petercollingridge/SVG-Optimiser/files/1141622/example.zip)
  Relative to absolute function called 'toabs()' takes in Arc (A) commands also. An inverse function has been added, which creates a complement of the path element given as...
Python 3 support.
Rename Ids to shortest names possible. Rename Styles to shortest names possible. This is nice if ids are required. Saved around 30kb on most of my svgs that required ids.