#formdata

1 bookmarks tagged with #formdata · RSS Feed · ← All Tags

javascript - Convert Data URI to File then append to FormData - Stack Overflow

http://stackoverflow.com/questions/4998908/convert-data-uri-to-file-then-append-to-formdata
I've been trying to re-implement an HTML5 image uploader like the one on the Mozilla Hacks site, but that works with WebKit browsers. Part of the task is to extract an image file from the canvas object and append it to a FormData object for upload.