Updated to 0.04, checked in a few more test files
This commit is contained in:
parent
5accbf75fb
commit
4feb5eb3c8
4 changed files with 27 additions and 6 deletions
14
README.txt
14
README.txt
|
|
@ -1,17 +1,23 @@
|
||||||
Scour
|
Scour
|
||||||
=====
|
=====
|
||||||
|
|
||||||
Scour will be a Python module that takes an input SVG and outputs a cleaner,
|
Scour is a Python module that takes an input SVG and outputs a cleaner,
|
||||||
more concise SVG file. The goal will be that authors will use this script
|
more concise SVG file. The goal is that authors will use this script after
|
||||||
after editing the file in a GUI editor such as Inkscape or Adobe Illustrator.
|
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
|
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
|
is to reduce the amount of time I spend in cleaning up files I find on sites
|
||||||
such as openclipart.org
|
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,
|
Regards,
|
||||||
|
|
||||||
Jeff Schiller
|
Jeff Schiller
|
||||||
2009-04-02
|
2009-04-06
|
||||||
codedread@gmail.com
|
codedread@gmail.com
|
||||||
http://blog.codedread.com/
|
http://blog.codedread.com/
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SCOURVER="0.03"
|
SCOURVER="0.04"
|
||||||
tar cvf scour-$SCOURVER.tar scour.py LICENSE.txt README.txt
|
tar cvf scour-$SCOURVER.tar scour.py LICENSE NOTICE README.txt
|
||||||
gzip scour-$SCOURVER.tar
|
gzip scour-$SCOURVER.tar
|
||||||
10
tests/emptyElems.svg
Normal file
10
tests/emptyElems.svg
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
|
||||||
|
</defs>
|
||||||
|
<g/>
|
||||||
|
<g></g>
|
||||||
|
<metadata />
|
||||||
|
<g>Foo</g>
|
||||||
|
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 117 B |
5
tests/emptyElems2.svg
Normal file
5
tests/emptyElems2.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 69 B |
Loading…
Add table
Add a link
Reference in a new issue