r77541 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77540‎ | r77541 | r77542 >
Date:22:01, 1 December 2010
Author:tparscal
Status:ok
Tags:
Comment:
Improved icon (both changed the SVG and re-rendered the PNG using a special sharpening downsampler).
Modified paths:
  • /trunk/extensions/ImageMap/desc-20.png (modified) (history)
  • /trunk/extensions/ImageMap/desc.svg (modified) (history)

Diff [purge]

Index: trunk/extensions/ImageMap/desc-20.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: trunk/extensions/ImageMap/desc.svg
@@ -1,22 +1,174 @@
22 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
33 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 4+
45 <svg
56 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 - xmlns:cc="http://web.resource.org/cc/"
 7+ xmlns:cc="http://creativecommons.org/ns#"
78 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
89 xmlns:svg="http://www.w3.org/2000/svg"
910 xmlns="http://www.w3.org/2000/svg"
 11+ xmlns:xlink="http://www.w3.org/1999/xlink"
1012 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
1113 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
1214 width="744.09448819"
1315 height="1052.3622047"
1416 id="svg2"
1517 sodipodi:version="0.32"
16 - inkscape:version="0.44"
17 - sodipodi:docbase="C:\htdocs\w2\extensions\ImageMap"
18 - sodipodi:docname="desc.svg">
 18+ inkscape:version="0.47 r22583"
 19+ sodipodi:docname="desc.svg"
 20+ version="1.1"
 21+ inkscape:export-filename="/Users/tparscal/Desktop/imageMap.png"
 22+ inkscape:export-xdpi="90"
 23+ inkscape:export-ydpi="90">
1924 <defs
20 - id="defs4" />
 25+ id="defs4">
 26+ <linearGradient
 27+ id="linearGradient5219">
 28+ <stop
 29+ style="stop-color:#727272;stop-opacity:1;"
 30+ offset="0"
 31+ id="stop5221" />
 32+ <stop
 33+ style="stop-color:#cacaca;stop-opacity:1;"
 34+ offset="1"
 35+ id="stop5223" />
 36+ </linearGradient>
 37+ <linearGradient
 38+ id="linearGradient5183">
 39+ <stop
 40+ style="stop-color:#0055b4;stop-opacity:1;"
 41+ offset="0"
 42+ id="stop5185" />
 43+ <stop
 44+ style="stop-color:#0079ff;stop-opacity:0;"
 45+ offset="1"
 46+ id="stop5187" />
 47+ </linearGradient>
 48+ <linearGradient
 49+ id="linearGradient5140">
 50+ <stop
 51+ style="stop-color:#008bff;stop-opacity:1;"
 52+ offset="0"
 53+ id="stop5142" />
 54+ <stop
 55+ style="stop-color:#003452;stop-opacity:0;"
 56+ offset="1"
 57+ id="stop5144" />
 58+ </linearGradient>
 59+ <linearGradient
 60+ id="linearGradient2904">
 61+ <stop
 62+ style="stop-color:#ffffff;stop-opacity:1;"
 63+ offset="0"
 64+ id="stop2906" />
 65+ <stop
 66+ style="stop-color:#ffffff;stop-opacity:0;"
 67+ offset="1"
 68+ id="stop2908" />
 69+ </linearGradient>
 70+ <inkscape:perspective
 71+ sodipodi:type="inkscape:persp3d"
 72+ inkscape:vp_x="0 : 526.18109 : 1"
 73+ inkscape:vp_y="0 : 1000 : 0"
 74+ inkscape:vp_z="744.09448 : 526.18109 : 1"
 75+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
 76+ id="perspective13" />
 77+ <inkscape:perspective
 78+ id="perspective2832"
 79+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
 80+ inkscape:vp_z="1 : 0.5 : 1"
 81+ inkscape:vp_y="0 : 1000 : 0"
 82+ inkscape:vp_x="0 : 0.5 : 1"
 83+ sodipodi:type="inkscape:persp3d" />
 84+ <inkscape:perspective
 85+ id="perspective2857"
 86+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
 87+ inkscape:vp_z="1 : 0.5 : 1"
 88+ inkscape:vp_y="0 : 1000 : 0"
 89+ inkscape:vp_x="0 : 0.5 : 1"
 90+ sodipodi:type="inkscape:persp3d" />
 91+ <inkscape:perspective
 92+ id="perspective2882"
 93+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
 94+ inkscape:vp_z="1 : 0.5 : 1"
 95+ inkscape:vp_y="0 : 1000 : 0"
 96+ inkscape:vp_x="0 : 0.5 : 1"
 97+ sodipodi:type="inkscape:persp3d" />
 98+ <inkscape:perspective
 99+ id="perspective2882-0"
 100+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
 101+ inkscape:vp_z="1 : 0.5 : 1"
 102+ inkscape:vp_y="0 : 1000 : 0"
 103+ inkscape:vp_x="0 : 0.5 : 1"
 104+ sodipodi:type="inkscape:persp3d" />
 105+ <radialGradient
 106+ inkscape:collect="always"
 107+ xlink:href="#linearGradient5183"
 108+ id="radialGradient5191"
 109+ cx="421.42856"
 110+ cy="694.62939"
 111+ fx="421.42856"
 112+ fy="694.62939"
 113+ r="311.18631"
 114+ gradientTransform="matrix(2.2098429,-3.3268405e-8,2.0370692e-8,1.31418,-509.86238,-221.41781)"
 115+ gradientUnits="userSpaceOnUse" />
 116+ <linearGradient
 117+ inkscape:collect="always"
 118+ xlink:href="#linearGradient2904"
 119+ id="linearGradient5203"
 120+ x1="421.42856"
 121+ y1="770.5788"
 122+ x2="421.42856"
 123+ y2="157.00269"
 124+ gradientUnits="userSpaceOnUse" />
 125+ <linearGradient
 126+ inkscape:collect="always"
 127+ xlink:href="#linearGradient2904"
 128+ id="linearGradient5207"
 129+ gradientUnits="userSpaceOnUse"
 130+ x1="421.42856"
 131+ y1="770.5788"
 132+ x2="421.42856"
 133+ y2="157.00269" />
 134+ <linearGradient
 135+ inkscape:collect="always"
 136+ xlink:href="#linearGradient2904"
 137+ id="linearGradient5210"
 138+ gradientUnits="userSpaceOnUse"
 139+ x1="421.42856"
 140+ y1="770.5788"
 141+ x2="421.42856"
 142+ y2="157.00269" />
 143+ <linearGradient
 144+ inkscape:collect="always"
 145+ xlink:href="#linearGradient2904"
 146+ id="linearGradient5212"
 147+ gradientUnits="userSpaceOnUse"
 148+ x1="421.42856"
 149+ y1="770.5788"
 150+ x2="421.42856"
 151+ y2="157.00269"
 152+ gradientTransform="matrix(1.014493,0,0,1.029412,-127.53624,-175.0696)" />
 153+ <linearGradient
 154+ inkscape:collect="always"
 155+ xlink:href="#linearGradient2904"
 156+ id="linearGradient5217"
 157+ gradientUnits="userSpaceOnUse"
 158+ gradientTransform="matrix(1.014493,0,0,1.029412,-107.53624,-157.92674)"
 159+ x1="421.42856"
 160+ y1="770.5788"
 161+ x2="421.42856"
 162+ y2="157.00269" />
 163+ <linearGradient
 164+ inkscape:collect="always"
 165+ xlink:href="#linearGradient5219"
 166+ id="linearGradient5225"
 167+ x1="421.42856"
 168+ y1="770.5788"
 169+ x2="421.42856"
 170+ y2="157.00269"
 171+ gradientUnits="userSpaceOnUse" />
 172+ </defs>
21173 <sodipodi:namedview
22174 id="base"
23175 pagecolor="#ffffff"
@@ -28,14 +180,16 @@
29181 inkscape:pageopacity="0.0"
30182 inkscape:pageshadow="2"
31183 inkscape:zoom="0.35"
32 - inkscape:cx="796.52647"
33 - inkscape:cy="480.05164"
 184+ inkscape:cx="-286.79748"
 185+ inkscape:cy="358.30213"
34186 inkscape:document-units="px"
35187 inkscape:current-layer="layer1"
36 - inkscape:window-width="853"
37 - inkscape:window-height="609"
38 - inkscape:window-x="307"
39 - inkscape:window-y="247" />
 188+ inkscape:window-width="1920"
 189+ inkscape:window-height="1075"
 190+ inkscape:window-x="1440"
 191+ inkscape:window-y="0"
 192+ showgrid="false"
 193+ inkscape:window-maximized="0" />
40194 <metadata
41195 id="metadata7">
42196 <rdf:RDF>
@@ -44,39 +198,64 @@
45199 <dc:format>image/svg+xml</dc:format>
46200 <dc:type
47201 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 202+ <dc:title></dc:title>
48203 </cc:Work>
49204 </rdf:RDF>
50205 </metadata>
51206 <g
52 - inkscape:label="Layer 1"
 207+ inkscape:label="Base"
53208 inkscape:groupmode="layer"
54 - id="layer1">
55 - <g
56 - id="g3657"
57 - transform="translate(-99.99995,-350.0001)">
58 - <path
59 - transform="matrix(1.014493,0,0,1.029412,-27.53629,174.9305)"
60 - d="M 717.14285 463.79074 A 295.71429 291.42856 0 1 1 125.71426,463.79074 A 295.71429 291.42856 0 1 1 717.14285 463.79074 z"
61 - sodipodi:ry="291.42856"
62 - sodipodi:rx="295.71429"
63 - sodipodi:cy="463.79074"
64 - sodipodi:cx="421.42856"
65 - id="path1872"
66 - style="opacity:1;fill:blue;fill-opacity:1;stroke:none;stroke-width:10;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
67 - sodipodi:type="arc" />
68 - <flowRoot
69 - transform="matrix(6.2409,0,0,4.446071,-1211.524,-1867.093)"
70 - style="font-size:144px;fill:white;fill-opacity:1;stroke:none;stroke-opacity:1;font-family:Times New Roman"
71 - id="flowRoot2764"
72 - xml:space="preserve"><flowRegion
73 - id="flowRegion2766"><rect
74 - style="font-size:144px;fill:white;fill-opacity:1;stroke:none;stroke-opacity:1;font-family:Times New Roman"
75 - y="495.21933"
76 - x="234.28572"
77 - height="297.14285"
78 - width="354.28571"
79 - id="rect2768" /></flowRegion><flowPara
80 - style="font-size:144px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:white;fill-opacity:1;stroke:none;stroke-opacity:1;font-family:Times New Roman"
81 - id="flowPara2770">i</flowPara></flowRoot> </g>
 209+ id="layer1"
 210+ style="display:inline">
 211+ <path
 212+ sodipodi:type="arc"
 213+ style="fill:#0079ff;fill-opacity:1;stroke:url(#linearGradient5225);stroke-width:16.2658664;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
 214+ id="path1872"
 215+ sodipodi:cx="421.42856"
 216+ sodipodi:cy="463.79074"
 217+ sodipodi:rx="295.71429"
 218+ sodipodi:ry="291.42856"
 219+ d="m 717.14285,463.79074 a 295.71429,291.42856 0 1 1 -591.42859,0 295.71429,291.42856 0 1 1 591.42859,0 z"
 220+ transform="matrix(1.014493,0,0,1.029412,-107.53624,-157.92674)" />
82221 </g>
 222+ <g
 223+ inkscape:groupmode="layer"
 224+ id="layer4"
 225+ inkscape:label="Refraction"
 226+ style="display:inline">
 227+ <path
 228+ transform="matrix(1.014493,0,0,1.029412,-107.53624,-157.92674)"
 229+ d="m 717.14285,463.79074 a 295.71429,291.42856 0 1 1 -591.42859,0 295.71429,291.42856 0 1 1 591.42859,0 z"
 230+ sodipodi:ry="291.42856"
 231+ sodipodi:rx="295.71429"
 232+ sodipodi:cy="463.79074"
 233+ sodipodi:cx="421.42856"
 234+ id="path5180"
 235+ style="fill:url(#radialGradient5191);fill-opacity:1;stroke:none;display:inline"
 236+ sodipodi:type="arc" />
 237+ </g>
 238+ <g
 239+ inkscape:groupmode="layer"
 240+ id="layer5"
 241+ inkscape:label="Reflection"
 242+ style="display:inline">
 243+ <path
 244+ style="opacity:0.51555559;fill:url(#linearGradient5217);fill-opacity:1;stroke:none;display:inline"
 245+ d="m 320,19.517857 c -165.68547,0 -300,134.314543 -300,300.000003 0,21.41886 2.264366,42.28957 6.53125,62.4375 C 106.0102,338.98527 208.33367,313.11161 320,313.11161 c 111.66633,0 213.9898,25.87366 293.46875,68.84375 C 617.73563,361.80743 620,340.93672 620,319.51786 620,153.8324 485.68547,19.517857 320,19.517857 z"
 246+ id="path5193" />
 247+ </g>
 248+ <g
 249+ inkscape:groupmode="layer"
 250+ id="layer3"
 251+ inkscape:label="Italic &quot;i&quot;"
 252+ style="display:inline">
 253+ <path
 254+ id="path2820"
 255+ style="font-size:144px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Times New Roman"
 256+ d="m 370.95661,130.65523 c 15.48657,3.7e-4 28.47549,3.8263 38.96675,11.4778 10.7406,7.65219 16.111,16.9056 16.11127,27.76025 -2.7e-4,10.85529 -5.37067,20.10867 -16.11127,27.76025 -10.74102,7.65215 -23.72994,11.47807 -38.96675,11.47777 -14.98738,3e-4 -27.85138,-3.82562 -38.59209,-11.47777 -10.74096,-7.65158 -16.11137,-16.90496 -16.11127,-27.76025 -10e-5,-10.85465 5.24545,-20.10806 15.73661,-27.76025 10.7407,-7.6515 23.72961,-11.47743 38.96675,-11.4778 m 23.23015,122.78572 -76.80945,189.78403 c -4.24645,10.85499 -6.36966,17.973 -6.36955,21.35404 -1.1e-4,1.95747 1.12395,3.82596 3.37211,5.60542 2.248,1.60157 4.62096,2.40236 7.11894,2.40232 4.24624,4e-5 8.49265,-1.33457 12.7391,-4.00388 11.24028,-6.58411 24.72877,-18.50676 40.46547,-35.76801 l 12.73917,5.33852 c -37.71796,46.80095 -77.80871,70.20137 -120.27237,70.20141 -16.23624,-4e-5 -29.2251,-3.20315 -38.96676,-9.60932 -9.49195,-6.58418 -14.23788,-14.85885 -14.23788,-24.8241 0,-6.5841 2.12321,-14.94779 6.36955,-25.09098 l 52.08058,-127.59039 c 4.99569,-12.27837 7.49356,-21.53179 7.49361,-27.76026 -5e-5,-3.91468 -2.37302,-7.3847 -7.11894,-10.41007 -4.74598,-3.02494 -11.24044,-4.53753 -19.48338,-4.53775 -3.74682,2.2e-4 -8.24299,0.0892 -13.48849,0.26688 l 4.87088,-10.67703 127.01659,-14.68091 22.48082,0" />
 257+ <path
 258+ d="m 364.95661,124.65523 c 15.48657,3.7e-4 28.47549,3.8263 38.96675,11.4778 10.7406,7.65219 16.111,16.9056 16.11127,27.76025 -2.7e-4,10.85529 -5.37067,20.10867 -16.11127,27.76025 -10.74102,7.65215 -23.72994,11.47807 -38.96675,11.47777 -14.98738,3e-4 -27.85138,-3.82562 -38.59209,-11.47777 -10.74096,-7.65158 -16.11137,-16.90496 -16.11127,-27.76025 -10e-5,-10.85465 5.24545,-20.10806 15.73661,-27.76025 10.7407,-7.6515 23.72961,-11.47743 38.96675,-11.4778 m 23.23015,122.78572 -76.80945,189.78403 c -4.24645,10.85499 -6.36966,17.973 -6.36955,21.35404 -1.1e-4,1.95747 1.12395,3.82596 3.37211,5.60542 2.248,1.60157 4.62096,2.40236 7.11894,2.40232 4.24624,4e-5 8.49265,-1.33457 12.7391,-4.00388 11.24028,-6.58411 24.72877,-18.50676 40.46547,-35.76801 l 12.73917,5.33852 c -37.71796,46.80095 -77.80871,70.20137 -120.27237,70.20141 -16.23624,-4e-5 -29.2251,-3.20315 -38.96676,-9.60932 -9.49195,-6.58418 -14.23788,-14.85885 -14.23788,-24.8241 0,-6.5841 2.12321,-14.94779 6.36955,-25.09098 l 52.08058,-127.59039 c 4.99569,-12.27837 7.49356,-21.53179 7.49361,-27.76026 -5e-5,-3.91468 -2.37302,-7.3847 -7.11894,-10.41007 -4.74598,-3.02494 -11.24044,-4.53753 -19.48338,-4.53775 -3.74682,2.2e-4 -8.24299,0.0892 -13.48849,0.26688 l 4.87088,-10.67703 127.01659,-14.68091 22.48082,0"
 259+ style="font-size:144px;font-style:italic;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Times New Roman"
 260+ id="path5215" />
 261+ </g>
83262 </svg>

Status & tagging log