Optimize SVGs

Done using svgo version 0.5.2, invoked with '--multipass' and
'--disable=removeXMLProcInst'.

Change-Id: I1abc7a798ef793536dc9262e40f164b2e77e4ea8
This commit is contained in:
Ori Livneh 2015-11-23 12:29:51 -08:00
parent 5aa2674ff4
commit 20a23ff4a4
4 changed files with 15 additions and 59 deletions

View file

@ -1 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="#fff" fill-rule="evenodd" clip-rule="evenodd" d="M2.023 3l3.489 5.953 3.488-5.953z"/></svg>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
<path fill="#fff" fill-rule="evenodd" clip-rule="evenodd" d="M2.023 3l3.49 5.953L9 3z"/>
</svg>

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 223 B

View file

@ -1,32 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 1024 768"
id="Layer_1"
xml:space="preserve"><metadata
id="metadata17"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs15" /><g
id="g3"><polygon
points="851.2,71.6 690.7,232.1 650.6,191.8 641,356.6 805.8,347.3 765.5,306.9 926,146.4 984.5,204.9 997.6,0 792.7,13.1 "
id="polygon5"
style="fill:#777777" /><polygon
points="769.6,89.3 611.9,89.3 682.8,160.1 690.7,167.6 "
id="polygon7"
style="fill:#777777" /><path
d="m 643.6,402.2 -51.2,3 3,-51.2 9.4,-164.4 5.8,-100.3 H 26.4 V 768 H 909.5 V 387 l -100.9,5.8 -165,9.4 z M 813.9,678 H 113.6 l 207.2,-270.2 31.5,-12.9 195.7,204.9 105.9,-63.2 159.8,140.8 0.2,0.6 0,0 z"
id="path9"
style="fill:#777777" /><polygon
points="909.5,386.1 909.5,228 830.4,306.9 838.2,314.8 "
id="polygon11"
style="fill:#777777" /></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 768">
<g fill="#777">
<path d="M851.2 71.6L690.7 232.1l-40.1-40.3-9.6 164.8 164.8-9.3-40.3-40.4L926 146.4l58.5 58.5L997.6 0 792.7 13.1"/>
<path d="M769.6 89.3H611.9l70.9 70.8 7.9 7.5m-47.1 234.6l-51.2 3 3-51.2 9.4-164.4 5.8-100.3H26.4V768h883.1V387l-100.9 5.8-165 9.4zM813.9 678H113.6l207.2-270.2 31.5-12.9L548 599.8l105.9-63.2 159.8 140.8.2.6zm95.6-291.9V228l-79.1 78.9 7.8 7.9"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 531 B

View file

@ -1,22 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 1024 768"
id="Layer_1"
xml:space="preserve"><metadata
id="metadata9"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs7" /><path
d="M 897,454.6 V 313.4 L 810.4,299 c -6.4,-23.3 -16,-45.7 -27.3,-65.8 L 833.6,161.8 734.2,61.6 662.8,112.1 C 641.9,100.9 620.3,91.2 597,84.8 L 582.6,-1 H 441.4 L 427,85.6 c -23.3,6.4 -45.7,16 -65.8,27.3 L 289.8,62.4 189.5,161.9 240,233.3 c -11.2,20.9 -20.9,42.5 -27.3,66.6 L 127,313.4 v 141.2 l 85.8,14.4 c 6.4,23.3 16,45.7 27.3,66.6 l -50.5,71.4 99.5,99.5 71.4,-50.5 c 20.9,11.2 42.5,20.9 66.6,27.3 l 14.4,85.8 h 141.2 l 14.4,-86.6 c 23.3,-6.4 45.7,-16 65.8,-27.3 l 71.4,50.5 99.5,-99.5 -50.5,-71.4 c 11.2,-20.9 20.9,-42.5 27.3,-66.6 L 897,454.6 z m -385,77 C 430.2,531.6 364.4,465 364.4,384 364.4,302.2 431,236.4 512,236.4 c 81,0 147.6,65.8 147.6,147.6 0,81.8 -65.8,147.6 -147.6,147.6 z"
id="path3"
style="fill:#777777" /></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 768">
<path d="M897 454.6V313.4L810.4 299c-6.4-23.3-16-45.7-27.3-65.8l50.5-71.4-99.4-100.2-71.4 50.5c-20.9-11.2-42.5-20.9-65.8-27.3L582.6-1H441.4L427 85.6c-23.3 6.4-45.7 16-65.8 27.3l-71.4-50.5-100.3 99.5 50.5 71.4c-11.2 20.9-20.9 42.5-27.3 66.6L127 313.4v141.2l85.8 14.4c6.4 23.3 16 45.7 27.3 66.6L189.6 607l99.5 99.5 71.4-50.5c20.9 11.2 42.5 20.9 66.6 27.3l14.4 85.8h141.2l14.4-86.6c23.3-6.4 45.7-16 65.8-27.3l71.4 50.5 99.5-99.5-50.5-71.4c11.2-20.9 20.9-42.5 27.3-66.6l86.4-13.6zm-385 77c-81.8 0-147.6-66.6-147.6-147.6 0-81.8 66.6-147.6 147.6-147.6S659.6 302.2 659.6 384 593.8 531.6 512 531.6z" fill="#777"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 736 B

View file

@ -1,8 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 612 792" enable-background="new 0 0 612 792" xml:space="preserve">
<polygon fill="#777777" points="612,179.2 522.8,90 306,306.8 89.2,90 0,179.2 216.8,396 0,612.8 89.2,702 306,485.2 522.8,702
612,612.8 395.2,396 "/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 612 792">
<path fill="#777" d="M612 179.2L522.8 90 306 306.8 89.2 90 0 179.2 216.8 396 0 612.8 89.2 702 306 485.2 522.8 702l89.2-89.2L395.2 396"/>
</svg>

Before

Width:  |  Height:  |  Size: 598 B

After

Width:  |  Height:  |  Size: 250 B