title: How to submit image as part of form after converting from canvas?
body: <p>Suppose I convert canvas to image using <code>.todataURL()</code> and then I want to submit this image as a part of my form.</p>
  
  <p>How can I do that?</p>
  
  <pre><code>var url = document.querySelector('canvas').toDataURL();
  </code></pre>
  
  <p>How can I use the URL to submit this image as a part of my form?</p>