I have an application with heavy use of canvas (dinamyc created, circles, squares, a brush pen, some kind of online microsoft paint). I am searching for the best compatible canvas js library for supporting IE7+. Any suggestions? i tried excanvas.js but I didn't get the same results as i use to see in firefox.
+1
A:
There ExCanvas (VML), Uupaa Canvas (VML, based on ExCanvas), FxCanvas (Flash) and FlashCanvas (Flash). There is also this one (Silverlight), but I don't know if this was totally finished. Note that ExCanvas also supports Silverlight in a sub-project, but it is not maintained.
It all depends on your target audience and what you need in your app.
The VML based ones are limited if you need lots of elements in your drawing, and the Flash based ones won't be limited by the number of element, but by the interactivity (mouse and keyboard events).
I suggest you to look at the respective websites of these libs.
Fabien Ménager
2010-06-04 21:53:22
The problem is that none of them support todataurl() method, and i really need it.
albanx
2010-06-10 19:43:52
Yes, FxCanvas and FlashCanvas both support toDataUrl. FxCanvas supports it in a different way, because it needs a callback function, but FlashCanvas seems to work the same way as native implementation (with JPEG and PNG)
Fabien Ménager
2010-06-12 10:42:33