Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drawing on top of an image in 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.

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.

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.)

like image 381
Joshua Fox Avatar asked Nov 20 '08 09:11

Joshua Fox


1 Answers

Take a look at RaphaelJS... it's a cross browser implementation of drawing functions, using Canvas, VML or SVG where available. I'm not sure if it lets users draw for themselves out of the box, but it might be worth a look.

like image 56
nickf Avatar answered Oct 22 '22 08:10

nickf