How can I generate Polygon coordinates from image

P
Posted By
Perma
Jul 23, 2007
Views
1822
Replies
2
Status
Closed
Hi,
I need to draw a map in a Java application (using drawPolygon() supplying all the x’ and y coordinates), and wonder if it is possible to get the polygon coordinates from an Image selection in Photoshop?

In Photoshop, I can open an image of the map I need to draw, and for example use the "Polygonal Lasso Tool" to select the border of the map (or perhaps more accurate by using the magic wand tool?)

Is there some way to see the coordinates (x’ and y’s) used by the polygonal selection generated by any of the above?
This would help me tremendously, so hope someone can help me here.

Tips about any other tool than Photoshop that can do the trick would also be great.

Regards, Per Magnus

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

AM
Andrew Morton
Jul 23, 2007
Perma wrote:
I need to draw a map in a Java application (using drawPolygon() supplying all the x’ and y coordinates), and wonder if it is possible to get the polygon coordinates from an Image selection in Photoshop?
In Photoshop, I can open an image of the map I need to draw, and for example use the "Polygonal Lasso Tool" to select the border of the map (or perhaps more accurate by using the magic wand tool?)
Is there some way to see the coordinates (x’ and y’s) used by the polygonal selection generated by any of the above?
This would help me tremendously, so hope someone can help me here.
Tips about any other tool than Photoshop that can do the trick would also be great.

Could you display the image in a Java app and get that to store the coordinates as you click on the image?

Andrew
P
Pico
Jul 24, 2007
Perma wrote:
Hi,
I need to draw a map in a Java application (using drawPolygon() supplying all the x’ and y coordinates), and wonder if it is possible to get the polygon coordinates from an Image selection in Photoshop?

Look to the Info pallet. Touch each corner. Record x,y.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections