借鉴在Javascript中的图像顶部 [英] Drawing on top of an image in Javascript

查看:114
本文介绍了借鉴在Javascript中的图像顶部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要让用户在浏览器中的图像上绘制。换句话说,我需要的两个的位图图形与绘图功能,无论是矢量还是位图。

I want to let the user draw on an image in a browser. In other words, I need both bitmapped graphics and drawing capabilities, whether vector or bitmapped.

画布看起来不错,但不支持IE,虽然有ExCanvas,不知是否ExCanvas是在IE6中统一使用足够稳定通过8。

Canvas looks good, but is not supported by IE, and though there is ExCanvas, I wonder if ExCanvas is stable enough for consistent use in IE6 through 8.

或最重要的,有一个支持所有这一切开箱即用的开源图像/绘图库?我发现了两个十几基于Web的图像编​​辑器或绘图工具,但没有支持的要求。 (我想避免的Flash / Flex的/的Silverlight / JavaFX的。)

Or best of all, is there an open-source image/drawing library that supports all this out of the box? I found two dozen or so Web-based image editors or drawing tools, but none support the requirements. (And I'd like to avoid Flash/Flex/Silverlight/JavaFX.)

推荐答案

虽然你说你想避免它,我会建议的Flash。你可以很容易地使用Flash 6或7和这些有90%的采用率。我会感到惊讶,如果你能得到的支持JavaScript的水平。闪光灯是真正的一次编写,到处运行,这将减少你的开发时间。

Even though you said you'd like to avoid it I'd suggest Flash. You could easily use Flash 6 or 7 and these have a > 90% adoption rate. I'd be surprised if you could get that level of support with JavaScript. Flash is truly write once run anywhere, which will cut down on your development time.

这篇关于借鉴在Javascript中的图像顶部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆