Thanks for your reply.

All I am trying to do is take a picture of the final drawing, save it to a cookie/sharedobject and when the user comes back to the website the picture that they drew comes back up.

I will look into the bmp class as it seems almost like what i want.