onLINE

I’m working on an online editing website. I’m wondering how to receive the image after the user edit it (change colours, add text) in to my email (as a PDF, JPEG, PNG,…??)?

Is there a way apply an actionscript to a button to get a SCREENSHOT