Working draft: http://magick-uploader.herokuapp.com/
Your browser does all the magic. You only need to decode the base64 data sent to your server, and save it locally.
I'm not using it on production yet, but found the current implementation pretty straightforward. I'll update soon when it's production ready (but I encourage you to try it right now).