OS 6 Safari not only adds file uploads through <input type=”file”>, but also gives us direct access to image data with the FileReader API.
This combination allows for a load of functionality in the client that was only previously possible with a native app.
Note: I just made this quickly and it has a few issues. Firstly, images scaled straight from the camera are inexplicably squashed (a Safari bug?). Secondly, I haven’t accounted for image orientation – something defined in the exif data.