Scour - An SVG Optimizer / Cleaner
testscour.py: Add unit tests for Johan Sundström's fix for bug 722544, "SVG transform matrix() arg order is a1 b1 a2 b2 a3 b3, not a1 a2 a3 b1 b2 b3". unittests/: Edit the unit tests' support files not to have a second line with the correct transformation. This is customarily in testscour.py. |
||
|---|---|---|
| fulltests | ||
| logos | ||
| python-modules-pre24 | ||
| unittests | ||
| CONTRIBUTORS | ||
| crunch.sh | ||
| LICENSE | ||
| NOTICE | ||
| package.sh | ||
| push.sh | ||
| README.txt | ||
| release-notes.html | ||
| scour.inkscape.py | ||
| scour.inx | ||
| scour.py | ||
| scra.py | ||
| statistics.html | ||
| statistics.xls | ||
| svg_regex.py | ||
| svg_transform.py | ||
| testcss.py | ||
| testscour.py | ||
| webscour.py | ||
| yocto_css.py | ||
Scour ===== Scour is a Python module that takes an input SVG and outputs a cleaner, more concise SVG file. The goal is that authors will use this script after editing the file in a GUI editor such as Inkscape or Adobe Illustrator. Scour was started as a vehicle for me to learn Python. In addition, the goal is to reduce the amount of time I spend in cleaning up files I find on sites such as openclipart.org Ideas are pulled from three places: - my head - Sam Ruby's SVG Tidy script: http://intertwingly.net/code/svgtidy/svgtidy.rb - Inkscape's proposal for a 'cleaned SVG': http://wiki.inkscape.org/wiki/index.php/Save_Cleaned_SVG Regards, Jeff Schiller 2009-04-06 codedread@gmail.com http://blog.codedread.com/