Applet for Submitting Screenshot
Friday, 6 March 2009
Submitting screenshots through the web takes several steps more than it ought to. Firstly we have to paste it into mspaint.exe, save it to disk, only to then fiddle around with the File upload to look for the file again.
Another way to do it is via a signed applet. Unfortunately, the signed applet is unable to cooperate with the rest of the HTML form to submit multipart posts.
The next best thing is to send the screenshot to a hidden field with a base64 encoded image.
Download signed jar with sources SImageUploadApplet.jar
Here’s a proof of concept:
Download signed jar with sources SImageUploadApplet.jar
It’s 2009, perhaps HTML should have a rich text area that can submit inlined images.
You should follow me on twitter here

No. 1 — March 7th, 2009 at 8:36 am
I think there is a way to do this in javascript with Canvas, although you would be limited to the content portion of the browser.
No. 2 — March 10th, 2009 at 10:38 pm
I must have been channeling someone. Look at this: Mozilla 2009 Design Challenge: SxSW Edition – a better upload button
No. 3 — March 26th, 2009 at 2:29 am
Why not using an existing upload applet that supports cross-browsers and HTTP multifiles upload ? You have one at:
http://www.jfileupload.com/products/jfileupload/index.html