← Home · ↑ May 2012 · Bookmark #21775

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

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.