Skip to content

Commit

Permalink
examples with SVGZ (close svg#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsweet committed Dec 17, 2012
1 parent 8bf3f40 commit 3ca643d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ Arguments:

$ svgo -s 'data:image/svg+xml;base64,…' -o test.min.svg

* with SVGZ:

from `.svgz` to `.svg`:

$ gunzip -c test.svgz | svgo -i - -o test.min.svg

from `.svg` to `.svgz`:

$ svgo test.svg -o - | gzip -cfq9 > test.svgz

* with GUI – [svgo-gui](https://github.com/svg/svgo-gui)
* as a Nodejs module – [examples](https://github.com/svg/svgo/tree/master/examples)
* as a Grunt task – [svgo-grunt](https://github.com/svg/svgo-grunt)
Expand Down
10 changes: 10 additions & 0 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ Arguments:

$ svgo -s 'data:image/svg+xml;base64,…' -o test.min.svg

* с SVGZ:

из `.svgz` в `.svg`:

$ gunzip -c test.svgz | svgo -i - -o test.min.svg

из `.svg` в `.svgz`:

$ svgo test.svg -o - | gzip -cfq9 > test.svgz

* с помощью GUI – [svgo-gui](https://github.com/svg/svgo-gui)
* как модуль Node.js – [examples](https://github.com/svg/svgo/tree/master/examples)
* как таск для Grunt – [svgo-grunt](https://github.com/svg/svgo-grunt)
Expand Down

0 comments on commit 3ca643d

Please sign in to comment.