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