Convert url to file object with JavaScript
<p>I have converted an image into <code>dataurl</code> using <code>FileReader</code> and it gives me output like:</p>

<p><code>data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBl…Vp1m8u4+SV/s0TpD8+91R/3Xlf8sXZv9Y9OGLk5eyVnCNu19Ntdu2jYOnaHtG7ffb7t/uP/9k=</code></p>

<p>Which is a very long string.. </p>

<p>Now I again want to convert it to file object so that I can post this image.</p>

<p>How can I again convert this image into file object</p>