Scour - An SVG Optimizer / Cleaner
Find a file
2009-08-01 10:43:25 -05:00
fulltests Added several new fulltests 2009-07-30 00:04:23 -05:00
logos Remove text styles from shapes. Remove --inkscape styles. Fix path handling for multiple coords in first Move command. Add --set-precision N argument 2009-05-19 10:02:47 -05:00
python-modules-pre24 Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface. 2009-05-22 09:04:40 -05:00
unittests Only convert color names to #RRGGBB if it will actually be shorter 2009-08-01 07:23:24 -05:00
CONTRIBUTORS Rewrite to use optparse for user interface, picking up a few minor bug fixes and improvements in the process, but trying to keep otherwise unchanged. 2009-05-20 19:22:57 +01:00
crunch.sh Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface. 2009-05-22 09:04:40 -05:00
LICENSE Move to Apache License 2009-04-06 10:09:23 -05:00
NOTICE Add NOTICE file 2009-04-06 10:14:02 -05:00
package.sh Fixes for polygon coord processing. Add --strip-xml-prolog option 2009-07-29 13:42:04 -05:00
push.sh Added GPLv3 License file and push script 2009-04-02 14:13:04 -05:00
README.txt Restore accidentally deleted README file 2009-04-25 02:39:14 -05:00
release-notes.html Remove duplicate gradients 2009-08-01 10:43:25 -05:00
scour.py Remove duplicate gradients 2009-08-01 10:43:25 -05:00
scra.py Fixes for polygon coord processing. Add --strip-xml-prolog option 2009-07-29 13:42:04 -05:00
statistics.html Final Scour 0.16 check-in 2009-07-30 00:12:59 -05:00
svg_regex.py Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface. 2009-05-22 09:04:40 -05:00
testscour.py Only convert color names to #RRGGBB if it will actually be shorter 2009-08-01 07:23:24 -05:00
webscour.py Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface. 2009-05-22 09:04:40 -05:00

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/