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.

You should follow me on twitter here

3 Responses to “Applet for Submitting Screenshot”

  1. mikeal writes:

    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.

  2. Chui writes:

    I must have been channeling someone. Look at this: Mozilla 2009 Design Challenge: SxSW Edition – a better upload button

  3. jfileupload writes:

    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

Leave a Reply