Mikerobenics
Mikerobenics

Reputation: 225

How to convert image map coords to SVG path format?

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.

Upvotes: 0

Views: 3714

Answers (1)

Paul LeBeau
Paul LeBeau

Reputation: 101868

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

Upvotes: 2

Related Questions