From 7fd45e2875f3f62f4bff3b107076578f15665366 Mon Sep 17 00:00:00 2001
From: kondou <kondou@ts.unde.re>
Date: Fri, 21 Jun 2013 04:24:40 +0200
Subject: [PATCH] Optimize pictures with optipng and scour

---
 core/img/actions/add.png    | Bin 195 -> 184 bytes
 core/img/actions/add.svg    |  64 ++----------------------
 core/img/actions/delete.png | Bin 334 -> 262 bytes
 core/img/actions/delete.svg |  66 ++-----------------------
 core/img/actions/mail.svg   |  96 +-----------------------------------
 5 files changed, 9 insertions(+), 217 deletions(-)

diff --git a/core/img/actions/add.png b/core/img/actions/add.png
index 13e20df6626b5c5b907176c9887386b19545c25d..1aac02b84544ac0e8436d7c8e3b14176cd35fb88 100644
GIT binary patch
delta 110
zcmX@ixPx(mgajiq0|SGqZLSgn0|RrhlV=DA2gmJ){tqS^+Iq7E_=LFr|NozXfg$wJ
z<vIoi2F8*gzhDN3XE)Lq7#PGoT^vI=qLWh+5>oDUH@$i-$l=@7$jBgA%H28PbM$Nm
P1_lOCS3j3^P6<r_`#U0k

delta 121
zcmdnNc$jg5gd_(W0|SHn=l_We3=AyAPM#qg92^`q94Q?W4QxXlJY5_^EPCHga^zxA
z;5oeJ$AA6fn|C-SHYq&2b#bEs<Jv<fm^{6W7i6rPer<oCLW1x!rWgM>(`8x?)~n18
cS#+A^h>nD?@TxUE3=9kmp00i_>zopr002rX{Qv*}

diff --git a/core/img/actions/add.svg b/core/img/actions/add.svg
index 6db768d9a4..250746e166 100644
--- a/core/img/actions/add.svg
+++ b/core/img/actions/add.svg
@@ -1,62 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   height="16"
-   width="16"
-   version="1.1"
-   id="svg2"
-   inkscape:version="0.48.3.1 r9886"
-   sodipodi:docname="add.svg"
-   inkscape:export-filename="add.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <metadata
-     id="metadata12">
-    <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="defs10" />
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1301"
-     inkscape:window-height="744"
-     id="namedview8"
-     showgrid="false"
-     inkscape:zoom="14.75"
-     inkscape:cx="12.655895"
-     inkscape:cy="5.3587617"
-     inkscape:window-x="65"
-     inkscape:window-y="24"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg2" />
-  <g
-     transform="matrix(-0.70710678,-0.70710678,0.70710678,-0.70710678,-724.84547,752.15918)"
-     id="g4">
-    <path
-       inkscape:connector-curvature="0"
-       id="path2989"
-       d="m 1.6360606,1040.8645 2.8284271,-2.8284 3.5355134,3.5355 3.5355339,-3.5355 2.828427,2.8284 -3.535534,3.5355 3.535555,3.5356 -2.828428,2.8284 -3.5355539,-3.5356 -3.5356917,3.5354 -2.8281118,-2.8281 3.5353763,-3.5357 z"
-       sodipodi:nodetypes="ccccccccccccc" />
-  </g>
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <g transform="matrix(-.70711 -.70711 .70711 -.70711 -724.85 752.16)">
+  <path d="m1.6361 1040.9 2.8284-2.8284 3.5355 3.5355 3.5355-3.5355 2.8284 2.8284-3.5355 3.5355 3.5356 3.5356-2.8284 2.8284-3.5356-3.5356-3.5357 3.5354-2.8281-2.8281 3.5354-3.5357z"/>
+ </g>
 </svg>
diff --git a/core/img/actions/delete.png b/core/img/actions/delete.png
index 6362903937c001f3bd5ebac47fe8ed48195c66a9..fe826a14dd2f14c3e50e57bdbd1d0fc583aea929 100644
GIT binary patch
delta 189
zcmX@d)W$SHLV|^vfq~)e-A6$T3=GW0PM#qg92~bF`ahUxXj?BA;1lBd|NsAs3=CHp
z7_MNT|NsB<`j{MGU|`@V3GxeO;I=K>aQEq7<_&4v7#JAbJY5_^IHHpi92gR}i#Q9M
z6}fov;wpxe73B<$g3QdxEFBlM4jj0{$i~K_Bhbdo9DUqJ;f05T!GoZJqXlmZm<6T6
e4(PTrF}(Cvd(C9ZznX!8fx*+&&t;ucLK6V*jzDGr

delta 261
zcmZo;I>$6YLXv}xfq_B(^Z!H!1_qX5C(jTL4i1hQj+Bmx2DbI5JzX3_EPB^YHsot^
z5OBS}V(#`0M_T&YjvSG$V68fz{65gfBjbg~mM3CUKIBH+abRJo-#YWn{QqU?*Ht#U
z?XFvBa6A7Y*Aa&+(~1>VKNRzty8nJn)AXC31?+tBOy12Z6D~P6U;D#gCVZv$;7wCQ
zPrls}o^lhe2($%lWz0BllX#t{Aj4KR?@#kh&9?I*cXEs8NW8v$Mpt=$!bTZKzL+Y`
z;8V3tIgS-<|D}>OLfJSkoG~zG>#V+XSCuU&tAOp)#+3h}W$qugzB1OmD7`%@I(5&f
S6$K0o3=E#GelF{r5}E)``EH>A

diff --git a/core/img/actions/delete.svg b/core/img/actions/delete.svg
index 08ea381f37..8024d402a8 100644
--- a/core/img/actions/delete.svg
+++ b/core/img/actions/delete.svg
@@ -1,65 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   height="16"
-   width="16"
-   version="1.1"
-   id="svg2"
-   inkscape:version="0.48.3.1 r9886"
-   sodipodi:docname="delete.svg"
-   inkscape:export-filename="delete.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <metadata
-     id="metadata12">
-    <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="defs10" />
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1301"
-     inkscape:window-height="744"
-     id="namedview8"
-     showgrid="false"
-     inkscape:zoom="1.84375"
-     inkscape:cx="-61.031156"
-     inkscape:cy="-20.822232"
-     inkscape:window-x="65"
-     inkscape:window-y="24"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg2" />
-  <path
-     inkscape:connector-curvature="0"
-     d="m 8,0.9999996 c -3.866,0 -7,3.134 -7,7 C 1,11.866 4.134,15 8,15 c 3.866,0 7,-3.134 7,-7.0000004 0,-3.866 -3.134,-7 -7,-7 z"
-     id="path4"
-     sodipodi:nodetypes="sssss"
-     style="fill:#d40000;fill-opacity:1" />
-  <path
-     style="fill:#ffffff;stroke:none"
-     d="m 4,7 0,2 8,0 0,-2 z"
-     id="path3008"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="ccccc" />
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <path d="m8 1c-3.866 0-7 3.134-7 7s3.134 7 7 7 7-3.134 7-7-3.134-7-7-7z" fill="#d40000"/>
+ <path fill="#fff" d="m4 7v2h8v-2z"/>
 </svg>
diff --git a/core/img/actions/mail.svg b/core/img/actions/mail.svg
index 6e8a4bd7f6..c01f2c113e 100644
--- a/core/img/actions/mail.svg
+++ b/core/img/actions/mail.svg
@@ -1,96 +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"
-   xmlns:xlink="http://www.w3.org/1999/xlink"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   version="1.0"
-   width="16"
-   height="16"
-   id="svg3197"
-   inkscape:version="0.48.3.1 r9886"
-   sodipodi:docname="mail.svg"
-   inkscape:export-filename="mail.png"
-   inkscape:export-xdpi="90"
-   inkscape:export-ydpi="90">
-  <metadata
-     id="metadata12">
-    <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>
-  <sodipodi:namedview
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1"
-     objecttolerance="10"
-     gridtolerance="10"
-     guidetolerance="10"
-     inkscape:pageopacity="0"
-     inkscape:pageshadow="2"
-     inkscape:window-width="1301"
-     inkscape:window-height="744"
-     id="namedview10"
-     showgrid="false"
-     inkscape:zoom="13.409091"
-     inkscape:cx="14.767899"
-     inkscape:cy="6.005142"
-     inkscape:window-x="65"
-     inkscape:window-y="24"
-     inkscape:window-maximized="1"
-     inkscape:current-layer="svg3197"
-     fit-margin-top="0"
-     fit-margin-left="0"
-     fit-margin-right="0"
-     fit-margin-bottom="0" />
-  <defs
-     id="defs3199">
-    <linearGradient
-       x1="45.52272"
-       y1="0.94087785"
-       x2="45.52272"
-       y2="34.003155"
-       id="linearGradient2388"
-       xlink:href="#linearGradient3678"
-       gradientUnits="userSpaceOnUse"
-       gradientTransform="matrix(0.77197262,0,0,1.0573243,-66.070441,-7.851394)" />
-    <linearGradient
-       id="linearGradient3678">
-      <stop
-         style="stop-color:#ffffff;stop-opacity:1;"
-         offset="0"
-         id="stop3680" />
-      <stop
-         style="stop-color:#e6e6e6;stop-opacity:1;"
-         offset="1"
-         id="stop3682" />
-    </linearGradient>
-    <linearGradient
-       gradientTransform="matrix(-0.4100229,0,0,0.5447147,78.029995,-3.8459034)"
-       gradientUnits="userSpaceOnUse"
-       xlink:href="#linearGradient3678"
-       id="linearGradient2388-2"
-       y2="38.279892"
-       x2="159.68553"
-       y1="14.403693"
-       x1="159.68553" />
-  </defs>
-  <path
-     sodipodi:nodetypes="sssssssssccccccccccccccccc"
-     inkscape:connector-curvature="0"
-     style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-     id="path3778"
-     d="M 0.8888889,3 C 0.39644445,3 0,3.396757 0,3.889201 l 0,8.222827 C 0,12.604472 0.39644445,13 0.8888889,13 L 15.111111,13 C 15.603556,13 16,12.604472 16,12.112028 L 16,3.889201 C 16,3.396757 15.603556,3 15.111111,3 z m 0.75,1.02809 6.0833331,6.083333 0.527778,0 6.111111,-6.083333 0.611111,0.611111 -3.638888,3.694445 2.75,2.805555 -0.611112,0.611112 -2.805555,-2.805556 -2.027778,2.055556 -1.277778,0 L 5.3333335,8.944757 2.5277778,11.77809 1.9166666,11.139201 4.6944445,8.333646 1.0277778,4.639201 z" />
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <path d="m0.88889 3c-0.49245 0-0.88889 0.3968-0.88889 0.8892v8.2228c0 0.492 0.39644 0.888 0.88889 0.888h14.222c0.493 0 0.889-0.396 0.889-0.888v-8.2228c0-0.4924-0.396-0.8892-0.889-0.8892zm0.75 1.0281 6.0833 6.0833h0.52778l6.1111-6.0833 0.61111 0.61111-3.6389 3.6944 2.75 2.8056-0.61111 0.61111-2.8056-2.8056-2.0278 2.0556h-1.2778l-2.0271-2.0552-2.8055 2.8332-0.6111-0.639 2.7777-2.8054-3.6666-3.6944z"/>
 </svg>
-- 
GitLab