HTML 图像映射 - 是否有一种简单的方法来创建和修改它们?
从给定的图像开始,我希望能够跟踪图像上的多边形,然后将结果导出为 HTML 图像地图。
能够改变现有图像映射的比例,从而改变多边形和形状的大小也是很好的。
有人知道有一个程序具有这些功能吗?
Starting out with a given image, I would like to be able to trace polygons on the image and then export the result as an HTML image map.
What would also be nice is to be able change the scale of an existing image map, thereby changing the size of the polygons and shapes.
Is there a program that anyone knows of that has these features?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
最好的是能够更改现有图像地图的比例..
我编写了一个 Javascript 图像地图调整器,它是 此处。 只需粘贴您的 HTML,它就会返回缩放后的图像映射。您必须在 HTML 中包含原始图像的“高度”和“宽度”属性。 (这是一个快速而肮脏的工具,除了解析您粘贴的 HTML 之外,它实际上不做任何事情。它使用这些属性作为计算的基础)。
您可能还对我的 jQuery 插件 ImageMapster 感兴趣,它可以动态调整图像映射的大小等。
What would also be nice is to be able change the scale of an existing image map ..
I wrote a Javascript image map resizer, it's here. Just paste in your HTML and it will return the scaled image map. You must include "height" and "width" attributes for the original image in the HTML. (This is a quick and dirty tool, it doesn't actually do anything other than parse the HTML you've pasted in. It uses those attributes as the base of calculations).
You may also be interested in my jQuery plugin ImageMapster which can resize image maps dynamically among other things.
许多程序都这样做。手动制作复杂的地图非常耗时。
我知道 coffeecup 是一个常用工具。
Many program do this. It is to time consuming doing complicated maps manually.
I know coffeecup is a used tool for this.
我使用此网站 https://www.image-map.net/ 来跟踪图像,然后将结果导出为 HTML 图像映射。
I use this site https://www.image-map.net/ to trace polygons on the image and then export the result as an HTML image map.
我使用这个网站,它非常适合快速制作图像地图
I use this site it's fairly good for quickly making image-maps