meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

Re-initialise Caman at run time? #21

Closed mirko77 closed 12 years ago

mirko77 commented 12 years ago

I am using Caman in a web application and I am trying to achieve a sort of undo/redo functionality.

I am able to re-draw the image on the canvas and go back and forth with all the steps, but it looks like the Caman object needs to be re-inizialised to get the image currently on the canvas.

How can I do that?