title: Generate HTML-Map from image
body: <p>Is there a way of automatically generating a HTML-Map compatible list of coordinates of polygon-like objects (e.g. countries on a map) with very distinctive borders?</p>
  
  <p>Example image:</p>
  
  <p><a href="http://www.bankaustria.at/landkarten/CEE_2007_w524.jpg">Map of CEE countries http://www.bankaustria.at/landkarten/CEE_2007_w524.jpg</a></p>
  
  <p>Final output:</p>
  
  <pre><code>&lt;map id ="ceemap" name="ceemap"&gt;
      &lt;area shape="poly" coords="149,303,162,301,162,298,171,293,180,299,169,309,159,306,148,306,149,303" href="austria.html" target ="_blank" alt="Austria" /&gt;       
      &lt;!-- ... --&gt;
  &lt;/map&gt;
  </code></pre>
  
  <p>Any tools/scripts extracting the coordinates of a polygon-like selection would be helpful.</p>