Top "Fileapi" questions

Use this tag for questions related to the W3C File API.

How do I download a file with Angular2 or greater

I have a WebApi / MVC app for which I am developing an angular2 client (to replace MVC). I am having …

javascript angular typescript download fileapi
How to get a file or blob from an object URL?

I am allowing the user to load images into a page via drag&drop and other methods. When an …

javascript html fileapi blobs
Getting byte array through input type = file

I am using ajax call to post byte[] value of a input type = file input to web api which receives …

javascript html fileapi
Convert base64 png data to javascript file objects

I have two base64 encoded in PNG, and I need to compare them using Resemble.JS I think that the …

javascript base64 fileapi
Getting binary (base64) data from HTML5 Canvas (readAsBinaryString)

Is there any way of reading the contents of a HTML Canvas as binary data? At the moment I've got …

javascript html html5-canvas fileapi
How to create File object from Blob?

DataTransferItemList.add allows you to override copy operation in javascript. It, however, only accepts File object. Copy event The code …

javascript fileapi
Blob from DataURL?

Using FileReader's readAsDataURL() I can transform arbitrary data into a Data URL. Is there way to convert a Data URL …

javascript fileapi
parameter is not of type 'Blob'

I have written the code below to display the text from a local file using the file API but when …

javascript html fileapi
How can I draw an image from the HTML5 File API on Canvas?

I would like to draw an image opened with the HTML5 File API on a canvas. In the handleFiles(e) …

javascript canvas drawimage fileapi
How to convert dataURL to file object in javascript?

I need to convert a dataURL to a File object in Javascript in order to send it over using AJAX. …

javascript jquery fileapi