codedread

Scour - an SVG scrubber

Scour is now maintained on Github at https://github.com/codedread/scour. Please reference the project there to get the script, file bugs, send pull requests, etc.

Scour is an open-source Python script that aggressively cleans SVG files, removing a lot of 'cruft' that certain tools or authors embed into their documents. The goal of scour is to provide an identically rendered image (i.e. a scoured document should have no discernable visible differences from the original file).

WARNING: Scour is intended to be run on files that have been edited in Vector Graphics editors such as Inkscape or Adobe Illustrator. Scour attempts to optimize the file, and as result, it will change the file's structure and (possibly) its semantics. If you have hand-edited your SVG files, you will probably not be happy with the output of Scour. NEVER USE SCOUR TO OVERWRITE YOUR ORIGINAL FILE!

The project is now maintained on Github at https://github.com/codedread/scour. Please reference the project there to get the script, file bugs, send pull requests, etc.

codedread codedread