more README, publish
This commit is contained in:
parent
f89b6bbf6a
commit
0e35c9d40f
2 changed files with 26 additions and 0 deletions
6
Makefile
6
Makefile
|
|
@ -7,3 +7,9 @@ clean:
|
|||
rm -rf build
|
||||
rm -rf dist
|
||||
rm -rf scour.egg-info
|
||||
|
||||
publish: clean
|
||||
python setup.py register
|
||||
python setup.py sdist upload
|
||||
python setup.py bdist_egg upload
|
||||
python setup.py bdist_wininst upload
|
||||
|
|
|
|||
20
README.md
20
README.md
|
|
@ -24,6 +24,26 @@ http://blog.codedread.com/
|
|||
|
||||
http://www.codedread.com/scour/
|
||||
|
||||
## Usage
|
||||
|
||||
Standard:
|
||||
|
||||
scour -i mysvg.svg -o mysvg_opt.svg
|
||||
|
||||
Better (this works in IE which needs Viewbox):
|
||||
|
||||
scour -i mysvg.svg -o mysvg_opt.svg --enable-viewboxing
|
||||
|
||||
Maximum:
|
||||
|
||||
scour -i mysvg.svg -o mysvg_opt.svg --enable-viewboxing --enable-id-stripping \
|
||||
--enable-comment-stripping --shorten-ids --indent=none
|
||||
|
||||
Maximum + Compress:
|
||||
|
||||
scour -i mysvg.svg -o mysvg_opt.svgz --enable-viewboxing --enable-id-stripping \
|
||||
--enable-comment-stripping --shorten-ids --indent=none
|
||||
|
||||
## Notes
|
||||
|
||||
Packaging from [sources](http://www.codedread.com/scour/) retrieved on 2013/20/22:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue