I've extracted selected area coords from images on Photoshop and want to convert 'em to plain SVG path format. I can't find any proper method how to do this, please help.
Asked
Active
Viewed 3,023 times
0
-
What sort of image is it? Does your shape have just straight lines, or does it have curves as well? Please expand your question with more information, so we can offer appropriate advice. – Paul LeBeau May 25 '18 at 09:37
-
Hi Paul, it's a plain JPG image and shape have straight lines and curves. For example I want to convert this extracted coords: `` – Mikerobenics May 25 '18 at 10:33
1 Answers
2
You can generally just transfer your image map list of coordinates to the points
attribute of an SVG <polygon>
element.
My answer in the following question has examples of what that looks like.
How to make a responsive and interactive Image map using SVG

Paul LeBeau
- 97,474
- 9
- 154
- 181
-
True for Polygon but not `rect` which is x1,y1,x2,y2 whereas SVG just uses a series of x,y coords – eozzy Jul 25 '21 at 06:31