title: how to convert image url to dataurl (base64 data) with javascript
body: <p>how to convert image url to base64 encoded data url  without using html5 canvas object.</p>
  
  <pre><code>canvas.todataURL()
  </code></pre>
  
  <p>I am gettting base64 data using canvas.todataURL, but it fails to read remote url's, so I want to convert my image url to dataurl with out using canvas.todataURL() and use it in my application.<br/><br/>
  HOw can I to do this.</p>