Compress svg icon.

This commit is contained in:
Felix Geyer 2012-01-05 22:33:05 +01:00
parent 55c94e6166
commit 5db102d668
3 changed files with 1 additions and 48 deletions

View File

@ -1,47 +0,0 @@
<?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="48" height="48" viewBox="0 0 100 100" id="svg2" sodipodi:version="0.32" inkscape:version="0.46" sodipodi:docname="keepassx.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape">
<metadata id="metadata2481">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview inkscape:window-height="875" inkscape:window-width="1418" inkscape:pageshadow="2" inkscape:pageopacity="0.0" guidetolerance="10.0" gridtolerance="10.0" objecttolerance="10.0" borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" id="base" showgrid="false" inkscape:zoom="10.291667" inkscape:cx="24" inkscape:cy="24" inkscape:window-x="151" inkscape:window-y="0" inkscape:current-layer="g2179"/>
<defs id="defs4">
<linearGradient id="linearGradient3255">
<stop style="stop-color:#226e23;stop-opacity:1;" offset="0" id="stop3257"/>
<stop id="stop3267" offset="1" style="stop-color:#63ab3a;stop-opacity:1;"/>
</linearGradient>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 24 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="48 : 24 : 1" inkscape:persp3d-origin="24 : 16 : 1" id="perspective2483"/>
<clipPath id="clip0">
<rect width="100" height="100" x="0" y="0" id="rect7"/>
</clipPath>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3255" id="linearGradient3261" x1="9.5115528" y1="84.508163" x2="81.182388" y2="15.300087" gradientUnits="userSpaceOnUse"/>
</defs>
<g transform="matrix(0.997403, 0, 0, 0.997403, 0.12987, 0.12987)" id="g2179">
<path d="M 0,0 L 65.275482,0 C 56.924454,0.849609 49.074387,5.383148 44.298965,12.290009 C 40.376999,17.698364 38.777893,24.407181 38.673691,31.008377 C 32.182602,24.17807 25.473648,17.557816 18.877045,10.829636 C 12.584518,10.911148 6.292725,11.025116 0,11.087418 L 0,0 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path10"/>
<path d="M 65.275482,0 L 70.29921,0 C 79.795517,1.362915 88.327225,7.38327 92.795273,15.861679 C 97.310135,25.454544 97.056351,37.292068 91.211655,46.270447 C 85.976059,54.821228 76.073227,60.032684 66.070145,59.720261 C 67.570374,61.274933 69.048935,62.852219 70.540314,64.417358 C 74.256653,68.319183 77.886581,72.302261 81.604309,76.203812 C 81.556732,82.659637 81.430191,89.114655 81.385513,95.571121 C 74.359222,95.675888 67.331635,95.465775 60.306778,95.647339 C 56.024002,91.177124 51.732315,86.714493 47.543671,82.156204 C 45.891953,80.36702 44.20163,78.614151 42.525696,76.849518 C 42.607407,79.555603 42.692474,82.262924 42.783539,84.9702 C 38.868805,84.992004 34.954437,84.974915 31.040085,84.981689 C 28.199677,88.209274 25.362122,91.439621 22.559662,94.70076 C 16.445602,94.835632 10.329926,94.706543 4.215302,94.783188 C 2.807693,94.73494 1.402603,94.647522 0,94.52095 L 0,73.793869 C 5.894531,66.678589 12.933578,60.551834 19.267838,53.813934 C 12.924744,46.543365 5.877121,39.83519 0,32.192673 L 0,11.087418 C 6.292725,11.025116 12.584518,10.911148 18.877045,10.829636 C 25.473648,17.557816 32.182602,24.17807 38.673691,31.008377 C 38.777893,24.407181 40.376999,17.698364 44.298965,12.290009 C 49.074387,5.383148 56.924454,0.849609 65.275482,0 z " style="fill: none; stroke: rgb(0, 0, 0); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path14"/>
<path d="M 65.275482,0 L 70.29921,0 C 79.795517,1.362915 88.327225,7.38327 92.795273,15.861679 C 97.310135,25.454544 97.056351,37.292068 91.211655,46.270447 C 85.976059,54.821228 76.073227,60.032684 66.070145,59.720261 C 67.570374,61.274933 69.048935,62.852219 70.540314,64.417358 C 74.256653,68.319183 77.886581,72.302261 81.604309,76.203812 C 81.556732,82.659637 81.430191,89.114655 81.385513,95.571121 C 74.359222,95.675888 67.331635,95.465775 60.306778,95.647339 C 56.024002,91.177124 51.732315,86.714493 47.543671,82.156204 C 45.891953,80.36702 44.20163,78.614151 42.525696,76.849518 C 42.607407,79.555603 42.692474,82.262924 42.783539,84.9702 C 38.868805,84.992004 34.954437,84.974915 31.040085,84.981689 C 28.199677,88.209274 25.362122,91.439621 22.559662,94.70076 C 16.445602,94.835632 10.329926,94.706543 4.215302,94.783188 C 2.807693,94.73494 1.402603,94.647522 0,94.52095 L 0,73.793869 C 5.894531,66.678589 12.933578,60.551834 19.267838,53.813934 C 12.924744,46.543365 5.877121,39.83519 0,32.192673 L 0,11.087418 C 6.292725,11.025116 12.584518,10.911148 18.877045,10.829636 C 25.473648,17.557816 32.182602,24.17807 38.673691,31.008377 C 38.777893,24.407181 40.376999,17.698364 44.298965,12.290009 C 49.074387,5.383148 56.924454,0.849609 65.275482,0 z " style="fill: rgb(0, 0, 0); fill-rule: nonzero; stroke: none;" id="path16"/>
<path d="M 70.29921,0 L 100,0 L 100,29.938766 C 98.268661,25.044296 97.511368,18.896027 92.795273,15.861679 C 88.327225,7.38327 79.795517,1.362915 70.29921,0 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path18"/>
<path d="M 50.15242,10.146301 C 56.463852,3.779266 66.468109,1.298157 74.944427,4.380051 C 87.817032,8.585358 95.293839,24.042618 91.03772,36.809372 C 88.071213,48.00174 76.775955,56.580963 65.066528,55.234451 C 62.152863,55.633163 59.574692,53.136215 56.714249,54.036102 C 57.463455,55.318481 58.419159,56.460037 59.459106,57.516785 C 65.62146,64.029007 71.760803,70.562622 77.8022,77.18811 C 77.676331,81.878433 77.704224,86.571701 77.555283,91.262268 C 72.261902,91.249374 66.968765,91.189178 61.676071,91.243301 C 54.495316,83.988037 47.665543,76.394974 40.578583,69.04895 C 40.036148,69.060242 38.951279,69.08284 38.408844,69.094131 C 38.628204,72.964569 38.729797,76.839966 38.83989,80.715439 C 35.588379,80.719635 32.337067,80.690918 29.086304,80.748581 C 26.469574,84.062256 23.440399,87.021759 20.837769,90.345428 C 15.173218,90.564148 9.501846,90.395721 3.834351,90.439529 C 3.839096,84.871521 3.856171,79.304001 3.826889,73.736694 C 10.610611,66.972595 17.249252,60.059845 24.137238,53.402695 C 17.5242,45.780243 10.571915,38.441101 3.73671,31.011383 C 3.630005,25.300797 3.549255,19.589935 3.48996,13.87883 C 8.052505,13.917374 12.614975,13.863693 17.17749,13.831985 C 24.730057,21.442474 32.202942,29.131332 39.744614,36.752731 C 40.698975,35.796692 41.652969,34.840515 42.605865,33.882828 C 41.226929,25.389053 43.873978,16.156494 50.15242,10.146301 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path22"/>
<path d="M 50.15242,10.146301 C 56.463852,3.779266 66.468109,1.298157 74.944427,4.380051 C 87.817032,8.585358 95.293839,24.042618 91.03772,36.809372 C 88.071213,48.00174 76.775955,56.580963 65.066528,55.234451 C 62.152863,55.633163 59.574692,53.136215 56.714249,54.036102 C 57.463455,55.318481 58.419159,56.460037 59.459106,57.516785 C 65.62146,64.029007 71.760803,70.562622 77.8022,77.18811 C 77.676331,81.878433 77.704224,86.571701 77.555283,91.262268 C 72.261902,91.249374 66.968765,91.189178 61.676071,91.243301 C 54.495316,83.988037 47.665543,76.394974 40.578583,69.04895 C 40.036148,69.060242 38.951279,69.08284 38.408844,69.094131 C 38.628204,72.964569 38.729797,76.839966 38.83989,80.715439 C 35.588379,80.719635 32.337067,80.690918 29.086304,80.748581 C 26.469574,84.062256 23.440399,87.021759 20.837769,90.345428 C 15.173218,90.564148 9.501846,90.395721 3.834351,90.439529 C 3.839096,84.871521 3.856171,79.304001 3.826889,73.736694 C 10.610611,66.972595 17.249252,60.059845 24.137238,53.402695 C 17.5242,45.780243 10.571915,38.441101 3.73671,31.011383 C 3.630005,25.300797 3.549255,19.589935 3.48996,13.87883 C 8.052505,13.917374 12.614975,13.863693 17.17749,13.831985 C 24.730057,21.442474 32.202942,29.131332 39.744614,36.752731 C 40.698975,35.796692 41.652969,34.840515 42.605865,33.882828 C 41.226929,25.389053 43.873978,16.156494 50.15242,10.146301 z " style="fill: rgb(255, 255, 255); fill-rule: nonzero; stroke: none;" id="path24"/>
<path d="M 62.03093,8.822037 C 69.791214,6.388916 78.638596,10.455078 82.826035,17.233887 C 89.202652,26.752731 86.478577,41.444931 76.403412,47.324356 C 70.431763,51.253326 62.408157,50.711121 56.503464,46.927872 C 54.113876,50.071014 50.914413,52.613785 48.850388,55.973495 L 49.058945,56.559891 C 56.700943,64.140213 64.342606,71.725388 71.997742,79.29451 C 71.819031,81.371918 72.462006,83.665039 71.645508,85.60849 C 69.26416,85.881042 66.849274,85.841309 64.460785,85.704636 C 62.405701,84.42366 61.005234,82.354919 59.314941,80.659744 C 54.263702,74.934021 48.769379,69.623795 43.618744,63.992081 C 40.577621,64.020905 37.542603,64.224899 34.515549,64.502808 C 34.427124,67.982971 34.505402,71.464813 34.430771,74.94603 C 31.460907,75.26709 28.379471,75.267609 25.525436,76.208099 C 22.624954,79.174957 19.795746,82.212738 16.94339,85.226974 C 14.165207,85.308914 11.385712,85.303894 8.6073,85.247055 C 8.883133,82.510162 7.530121,78.965332 10.139038,77.022766 C 17.968979,69.342148 25.175034,61.041199 33.113449,53.475693 C 25.488708,44.849915 17.01857,36.979752 9.13504,28.584579 C 7.947006,26.315002 8.826385,23.491058 8.597473,20.999573 C 10.99176,21.004272 13.385956,20.992462 15.780487,20.997192 C 23.225952,28.63913 30.77655,36.180588 38.046326,43.99202 C 38.769958,44.802216 39.576889,45.535751 40.487869,46.133408 C 42.986191,42.942322 46.037033,40.152054 48.222748,36.738358 C 47.55661,32.899078 46.247131,28.983536 47.500366,25.092606 C 48.759918,17.534698 54.486465,10.674881 62.03093,8.822037 z " style="fill: none; stroke: rgb(76, 145, 56); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path26"/>
<path d="M 62.03093,8.822037 C 69.791214,6.388916 78.638596,10.455078 82.826035,17.233887 C 89.202652,26.752731 86.478577,41.444931 76.403412,47.324356 C 70.431763,51.253326 62.408157,50.711121 56.503464,46.927872 C 54.113876,50.071014 50.914413,52.613785 48.850388,55.973495 L 49.058945,56.559891 C 56.700943,64.140213 64.342606,71.725388 71.997742,79.29451 C 71.819031,81.371918 72.462006,83.665039 71.645508,85.60849 C 69.26416,85.881042 66.849274,85.841309 64.460785,85.704636 C 62.405701,84.42366 61.005234,82.354919 59.314941,80.659744 C 54.263702,74.934021 48.769379,69.623795 43.618744,63.992081 C 40.577621,64.020905 37.542603,64.224899 34.515549,64.502808 C 34.427124,67.982971 34.505402,71.464813 34.430771,74.94603 C 31.460907,75.26709 28.379471,75.267609 25.525436,76.208099 C 22.624954,79.174957 19.795746,82.212738 16.94339,85.226974 C 14.165207,85.308914 11.385712,85.303894 8.6073,85.247055 C 8.883133,82.510162 7.530121,78.965332 10.139038,77.022766 C 17.968979,69.342148 25.175034,61.041199 33.113449,53.475693 C 25.488708,44.849915 17.01857,36.979752 9.13504,28.584579 C 7.947006,26.315002 8.826385,23.491058 8.597473,20.999573 C 10.99176,21.004272 13.385956,20.992462 15.780487,20.997192 C 23.225952,28.63913 30.77655,36.180588 38.046326,43.99202 C 38.769958,44.802216 39.576889,45.535751 40.487869,46.133408 C 42.986191,42.942322 46.037033,40.152054 48.222748,36.738358 C 47.55661,32.899078 46.247131,28.983536 47.500366,25.092606 C 48.759918,17.534698 54.486465,10.674881 62.03093,8.822037 z " style="fill:url(#linearGradient3261);fill-rule:nonzero;stroke:none;fill-opacity:1" id="path28"/>
<path d="M 71.69841,16.832642 C 76.432907,16.874573 82.798431,20.488525 81.859131,25.995483 C 83.044022,32.01265 75.089935,36.727463 70.053162,33.622818 C 62.980453,30.587906 63.866959,18.109695 71.69841,16.832642 z " style="fill: none; stroke: rgb(0, 0, 0); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path30"/>
<path d="M 71.69841,16.832642 C 76.432907,16.874573 82.798431,20.488525 81.859131,25.995483 C 83.044022,32.01265 75.089935,36.727463 70.053162,33.622818 C 62.980453,30.587906 63.866959,18.109695 71.69841,16.832642 z " style="fill: rgb(0, 0, 0); fill-rule: nonzero; stroke: none;" id="path32"/>
<path d="M 92.795273,15.861679 C 97.511368,18.896027 98.268661,25.044296 100,29.938766 L 100,36.581299 C 99.000656,45.926575 94.052322,55.029816 85.85466,59.909134 C 81.298676,62.897095 75.838043,63.763702 70.540314,64.417358 C 69.048935,62.852219 67.570374,61.274933 66.070145,59.720261 C 76.073227,60.032684 85.976059,54.821228 91.211655,46.270447 C 97.056351,37.292068 97.310135,25.454544 92.795273,15.861679 z " style="fill: none; stroke: rgb(199, 199, 199); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path34"/>
<path d="M 92.795273,15.861679 C 97.511368,18.896027 98.268661,25.044296 100,29.938766 L 100,36.581299 C 99.000656,45.926575 94.052322,55.029816 85.85466,59.909134 C 81.298676,62.897095 75.838043,63.763702 70.540314,64.417358 C 69.048935,62.852219 67.570374,61.274933 66.070145,59.720261 C 76.073227,60.032684 85.976059,54.821228 91.211655,46.270447 C 97.056351,37.292068 97.310135,25.454544 92.795273,15.861679 z " style="fill: rgb(199, 199, 199); fill-rule: nonzero; stroke: none;" id="path36"/>
<path d="M 70.043198,18.025681 C 74.760452,15.695435 79.95047,21.286209 78.562927,25.945801 C 77.757919,29.977066 72.418503,32.916885 68.983505,29.951569 C 64.529846,27.288696 65.405441,19.98851 70.043198,18.025681 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path38"/>
<path d="M 70.043198,18.025681 C 74.760452,15.695435 79.95047,21.286209 78.562927,25.945801 C 77.757919,29.977066 72.418503,32.916885 68.983505,29.951569 C 64.529846,27.288696 65.405441,19.98851 70.043198,18.025681 z " style="fill: rgb(255, 255, 255); fill-rule: nonzero; stroke: none;" id="path40"/>
<path d="M 0,32.192673 C 5.877121,39.83519 12.924744,46.543365 19.267838,53.813934 C 12.933578,60.551834 5.894531,66.678589 0,73.793869 L 0,32.192673 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path42"/>
<path d="M 85.85466,59.909134 C 94.052322,55.029816 99.000656,45.926575 100,36.581299 L 100,100 L 85.351105,100 C 85.289413,93.661423 85.71962,87.317398 85.474304,80.985367 C 84.417587,79.215424 82.9729,77.727921 81.604309,76.203812 C 77.886581,72.302261 74.256653,68.319183 70.540314,64.417358 C 75.838043,63.763702 81.298676,62.897095 85.85466,59.909134 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path46"/>
<path d="M 81.604309,76.203812 C 82.9729,77.727921 84.417587,79.215424 85.474304,80.985367 C 85.71962,87.317398 85.289413,93.661423 85.351105,100 L 64.243835,100 C 62.89801,98.578476 61.63092,97.085999 60.306778,95.647339 C 67.331635,95.465775 74.359222,95.675888 81.385513,95.571121 C 81.430191,89.114655 81.556732,82.659637 81.604309,76.203812 z " style="fill: none; stroke: rgb(199, 199, 199); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path50"/>
<path d="M 81.604309,76.203812 C 82.9729,77.727921 84.417587,79.215424 85.474304,80.985367 C 85.71962,87.317398 85.289413,93.661423 85.351105,100 L 64.243835,100 C 62.89801,98.578476 61.63092,97.085999 60.306778,95.647339 C 67.331635,95.465775 74.359222,95.675888 81.385513,95.571121 C 81.430191,89.114655 81.556732,82.659637 81.604309,76.203812 z " style="fill: rgb(199, 199, 199); fill-rule: nonzero; stroke: none;" id="path52"/>
<path d="M 42.525696,76.849518 C 44.20163,78.614151 45.891953,80.36702 47.543671,82.156204 C 46.07489,84.279709 46.923157,87.044403 46.389236,89.448349 C 42.675858,89.331131 38.96109,89.380859 35.247192,89.350708 C 31.803421,92.227081 29.671371,96.606369 25.933929,99.019272 C 18.760529,99.245377 11.551895,99.28035 4.377289,98.959091 C 4.324448,97.565872 4.270462,96.173904 4.215302,94.783188 C 10.329926,94.706543 16.445602,94.835632 22.559662,94.70076 C 25.362122,91.439621 28.199677,88.209274 31.040085,84.981689 C 34.954437,84.974915 38.868805,84.992004 42.783539,84.9702 C 42.692474,82.262924 42.607407,79.555603 42.525696,76.849518 z " style="fill: none; stroke: rgb(199, 199, 199); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path54"/>
<path d="M 42.525696,76.849518 C 44.20163,78.614151 45.891953,80.36702 47.543671,82.156204 C 46.07489,84.279709 46.923157,87.044403 46.389236,89.448349 C 42.675858,89.331131 38.96109,89.380859 35.247192,89.350708 C 31.803421,92.227081 29.671371,96.606369 25.933929,99.019272 C 18.760529,99.245377 11.551895,99.28035 4.377289,98.959091 C 4.324448,97.565872 4.270462,96.173904 4.215302,94.783188 C 10.329926,94.706543 16.445602,94.835632 22.559662,94.70076 C 25.362122,91.439621 28.199677,88.209274 31.040085,84.981689 C 34.954437,84.974915 38.868805,84.992004 42.783539,84.9702 C 42.692474,82.262924 42.607407,79.555603 42.525696,76.849518 z " style="fill: rgb(199, 199, 199); fill-rule: nonzero; stroke: none;" id="path56"/>
<path d="M 46.389236,89.448349 C 46.923157,87.044403 46.07489,84.279709 47.543671,82.156204 C 51.732315,86.714493 56.024002,91.177124 60.306778,95.647339 C 61.63092,97.085999 62.89801,98.578476 64.243835,100 L 0,100 L 0,94.52095 C 1.402603,94.647522 2.807693,94.73494 4.215302,94.783188 C 4.270462,96.173904 4.324448,97.565872 4.377289,98.959091 C 11.551895,99.28035 18.760529,99.245377 25.933929,99.019272 C 29.671371,96.606369 31.803421,92.227081 35.247192,89.350708 C 38.96109,89.380859 42.675858,89.331131 46.389236,89.448349 z " style="fill: none; stroke: rgb(255, 255, 255); stroke-width: 0.1; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10;" id="path58"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

View File

@ -48,7 +48,7 @@ QIcon DataPath::applicationIcon()
Q_FOREACH (const QString& size, pngSizes) {
icon.addFile(QString("%1/icons/application/%2x%2/apps/keepassx.png").arg(m_instance->m_basePath, size));
}
icon.addFile(QString("%1/icons/application/scalable/apps/keepassx.svg").arg(m_instance->m_basePath));
icon.addFile(QString("%1/icons/application/scalable/apps/keepassx.svgz").arg(m_instance->m_basePath));
}
#endif