Loading...
Logo
Processing Forum

Uploading image to web

in Programming Questions  •  2 years ago  
I am writing an applet for the web which will require uploading an image file to my site, so that it can be reopened the next time the sketch is run. Does anyone know how I can take an image of the sketch (a drawing sketch) at a given time and upload it to my website?  

Replies(1)

There is a postToWeb library offering this service; but you need a server-side script, eg. a PHP one.

At http://bazaar.launchpad.net/~philho/+junk/Processing/files/head:/ImageUpload/ you will find the code that was used as a base for postToWeb, and the PHP script I used for tests.