Capture Canvas Image

This example uses the preserveDrawingBuffer property to make the canvas data accessable.