Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have to get coordinate data for all corners in a polygon in a raster image.

This is going into an area element like this:

<area shape='poly' coords='x1,y1,x2,y2,...'/>

Is there any simple tool that enables

  • drawing the shape on the image by hand
  • getting all corners coordinates

I know that I can get coordinates easily with any image editor but you have to do it one point at a time and I want to avoid this.

Thank you for your answers.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You could use an Image Map Editor for such a thing. See http://www.maschek.hu/imagemap/imgmap for example and select "Polygon" after drawing the rectangle. You get the coordinates then.

share|improve this answer
    
Thank you, this one is interesting. I am also looking for non-commercial, offline tools, because we need to do this on workstations that are not connected to the Internet. –  Benoit May 26 '11 at 9:26
    
Maybe one of those listed here could give you the offline functionality you like: commons.wikimedia.org/wiki/… –  Scoregraphic May 26 '11 at 13:47
    
Thanks. Turns out that Gimp has a plugin that is usually included in distributions (Web-Imagemap) and this is cool... –  Benoit May 26 '11 at 13:58
add comment

I have found an online open source project, called ImageMap, hosted on Google Code. It is an AJAX, WYSIWYG, editor that does it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.