Applet for Submitting Screenshot

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:

image upload applet

Download signed jar with sources SImageUploadApplet.jar

It’s 2009, perhaps HTML should have a rich text area that can submit inlined images.


About this entry