title: canvas.toDataURL() for large canvas
body: <p>I have a problem with <code>.toDataURL()</code> for large canvas. I want to enconde in <code>base64</code> and decode on php file but if I have a large canvas the <code>strDataURI</code> variable is empty.</p>
  
  <p>My code:</p>
  
  <pre><code>var strDataURI = canvas.toDataURL();
  strDataURI = strDataURI.substr(22, strDataURI.length);
  $.post("save.php",
  { 
     str: strDataURI
  };
  </code></pre>
  
  <p>Is there any alternative to <code>.toDataURL()</code> or some way to change the size limit?</p>
  
  <p>Thanks.</p>