Optimize SVG

This commit is contained in:
Eric Rosenbaum 2018-11-05 16:27:11 -05:00
parent 18f9b23f4c
commit f5aa4509bd

View file

@ -1,35 +1 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<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 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;stroke:#000000;stroke-opacity:0.15;}
.st1{filter:url(#Adobe_OpacityMaskFilter);}
.st2{fill:#FFFFFF;}
.st3{mask:url(#mask-2_1_);}
</style>
<title>Tutorials/Navigation/Next</title>
<desc>Created with Sketch.</desc>
<g id="Tutorials_x2F_Navigation_x2F_Next">
<path class="st0" d="M22.6,16.3L22.6,16.3L22.6,16.3C22.6,16.3,22.6,16.3,22.6,16.3z M16.2,19l-5.6-0.8C9.4,18,8.5,17,8.5,15.8
c0-0.1,0-0.2,0-0.3c0.2-1.1,1-1.9,2-2l5.6-0.8v-1.1c0-0.7,0.4-1.3,1-1.6c0.6-0.3,1.3-0.1,1.8,0.4l4.3,4.3c0.3,0.3,0.5,0.7,0.5,1.2
c0,0.4-0.2,0.9-0.5,1.2l0,0L19,21.4c-0.5,0.5-1.2,0.6-1.8,0.3c-0.6-0.3-1-0.9-1-1.5V19z"/>
<defs>
<filter id="Adobe_OpacityMaskFilter" filterUnits="userSpaceOnUse" x="6" y="6" width="20" height="20">
<feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"/>
</filter>
</defs>
<mask maskUnits="userSpaceOnUse" x="6" y="6" width="20" height="20" id="mask-2_1_">
<g class="st1">
<path id="path-1_1_" class="st2" d="M23,16.7L18.7,21c-0.4,0.3-0.9,0.4-1.3,0.2c-0.4-0.2-0.7-0.6-0.7-1.1v-1.6l-6-0.8
C9.7,17.6,9,16.8,9,15.8c0-0.1,0-0.2,0-0.2c0.1-0.9,0.8-1.5,1.6-1.6l6-0.9v-1.6c0-0.5,0.3-0.9,0.7-1.1c0.4-0.2,0.9-0.1,1.3,0.3
L23,15c0.2,0.2,0.3,0.5,0.3,0.8C23.3,16.1,23.2,16.4,23,16.7z"/>
</g>
</mask>
<g id="Color_x2F_White" class="st3">
<g id="Color">
<rect x="6" y="6" class="st2" width="20" height="20"/>
</g>
</g>
</g>
</svg>
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" enable-background="new 0 0 32 32"><style>.st2{fill:#fff}</style><g id="Tutorials_x2F_Navigation_x2F_Next"><path d="M22.6 16.3zM16.2 19l-5.6-.8a2.5 2.5 0 0 1-2.1-2.4v-.3c.2-1.1 1-1.9 2-2l5.6-.8v-1.1c0-.7.4-1.3 1-1.6.6-.3 1.3-.1 1.8.4l4.3 4.3c.3.3.5.7.5 1.2 0 .4-.2.9-.5 1.2L19 21.4c-.5.5-1.2.6-1.8.3-.6-.3-1-.9-1-1.5V19z" fill="none" stroke="#000" stroke-opacity=".1"/><defs><filter id="Adobe_OpacityMaskFilter" filterUnits="userSpaceOnUse" x="6" y="6" width="20" height="20"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"/></filter></defs><mask maskUnits="userSpaceOnUse" x="6" y="6" width="20" height="20" id="mask-2_1_"><g filter="url(#Adobe_OpacityMaskFilter)"><path id="path-1_1_" class="st2" d="M23 16.7L18.7 21c-.4.3-.9.4-1.3.2s-.7-.6-.7-1.1v-1.6l-6-.8c-1-.1-1.7-.9-1.7-1.9v-.2c.1-.9.8-1.5 1.6-1.6l6-.9v-1.6c0-.5.3-.9.7-1.1.4-.2.9-.1 1.3.3L23 15c.2.2.3.5.3.8l-.3.9z"/></g></mask><g id="Color_x2F_White" mask="url(#mask-2_1_)"><path class="st2" d="M6 6h20v20H6z" id="Color"/></g></g></svg>

Before

(image error) Size: 1.7 KiB

After

(image error) Size: 1.1 KiB

Before After
Before After