OpenWetWare:Software/Image Editor/Gel annotation

From OpenWetWare
Revision as of 18:15, 27 June 2008 by Bill Flanagan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SVG description

<svg

  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="1.0"
  width="744.09448"
  height="1052.3622"
  id="svg9129">
 <defs
    id="defs9131" />
 <g
    id="layer1">
   <image
      xlink:href="http://openwetware.org/images/9/97/8-31_gel_PT.jpg"
      x="42.85714"
      y="3.43362"
      width="640"
      height="475"
      id="image9177" />
   <rect
      width="54.285713"
      height="251.42857"
      x="37.142857"
      y="63.790752"
      style="opacity:1;fill:none;fill-opacity:1;stroke:#00f100;stroke-width:5.0999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
      id="rect9180" />
   <rect
      width="173.00719"
      height="258.72147"
      x="95.78212"
      y="47.287163"
      style="opacity:1;fill:none;fill-opacity:1;stroke:#00f100;stroke-width:12.53600025;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:37.60800076, 12.53600025;stroke-dashoffset:25.0720005;stroke-opacity:1"
      id="rect10067" />
   <rect
      width="228.57143"
      height="348.57144"
      x="397.14285"
      y="15.219325"
      style="opacity:1;fill:none;fill-opacity:1;stroke:#f11500;stroke-width:5.0999999;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:15.29999971, 5.0999999;stroke-dashoffset:0;stroke-opacity:1"
      id="rect10071" />
   <text
      x="334.22855"
      y="-58.163361"
      transform="matrix(0,1,-1,0,0,0)"
      style="font-size:45px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:black;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
      id="text11843"
      xml:space="preserve"><tspan
        x="334.22855"
        y="-58.163361"
        style="fill:#fff200;fill-opacity:1"
        id="tspan11845">bla bla</tspan></text>
   <text
      x="350.18225"
      y="173.0761"
      transform="matrix(0.707107,0.707107,-0.707107,0.707107,0,0)"
      style="font-size:45px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:black;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
      id="text14502"
      xml:space="preserve"><tspan
        x="350.18225"
        y="173.0761"
        style="fill:#fff200;fill-opacity:1"
        id="tspan14504">bla bla</tspan></text>
   <text
      x="-583.71997"
      y="-381.37704"
      transform="scale(-1,-1)"
      style="font-size:45px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:black;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial"
      id="text14506"
      xml:space="preserve"><tspan
        x="-583.71997"
        y="-381.37704"
        style="fill:#fff200;fill-opacity:1"
        id="tspan14508">bla bla</tspan></text>
 </g>

</svg>

Comments and issues

  • SVG file created with inkscape.
  • The 'Gel' image has to be uploaded as usual into OWW. Then, its absolute URL is used in the SVG file in order to import the image and start building the overlay.
  • Any hyperlinks created within the SVG will be lost during the MediaWiki SVG-->PNG rasterization.
  • The hyperlink associated to the rendered image seems to link to the temporary SVG file used internally by the MediaWiki script.