Hi —
I briefly experimented with using the system "Take snapshot of canvas" action with CocoonJS. I actually did have success in sending the snapshot to WebStorage and then using the "Load image from URL" function of a blank sprite object and entering the WebStorage.LocalValue contents. Interestingly, I had to Flip the sprite for it to display properly.
However, I believe there are several obstacles to work around, as I was getting a Javascript exception ('requestAnimationFrame'): texImage2D IllegalArgumentException: Cannot open the given '/private/var/mobile/Applications/blah blah extremely long series of characters that expect represent the JPEG image in WebStorage. Not sure why I get this, as the sprite is deleted when I change layouts and I only get the error when trying to go back to the layout where I originally displayed the sprite.
Anyway, figured I would post and see if any of that is helpful. :) I'm on the latest C2 release, r143, and CJS 1.4.