title: How to set the image quality while converting a canvas with the "toDataURL" method?
body: <p>I want to set the quality factor when I encode a canvas element to jpg.</p>
  
  <pre><code>var data = myCanvas.toDataURL( "image/jpeg" );
  </code></pre>
  
  <p>It does not give me a quality option.  Is there an alternative library I can use?</p>
  
  <p>Related: what is the default quality setting used by the different browsers?</p>