How to convert an image to a string using javascript? : <pre><code>&lt;input type="file" id="picture"&gt;
</code></pre>

<p>I would like to convert the image uploaded to the html input to a string. How can I do that using JavaScript?</p>

<p>Thanks in advance.</p>
