title: canvas.toDataURL does not result in image/jpeg data
body: <p>I am trying to save html5 canvas data to server using base64 + phonegap 2.5.<br></p>
  
  <p><strong>platforms</strong> : windows phone 7 and 8 , Android and IOS.</p>
  
  <p>Basic need for image resizing is to optimize data before send over server.</p>
  
  <p>I am having issue with android platform base64 response method which are as follows</p>
  
  <p><strong>Problems</strong> :</p>
  
  <ol>
  <li>Android 4.2 : I wrote this code <code>c.toDataURL("image/jpeg");</code>   but i got this <code>data:image/png;base64</code></li>
  <li>Android 2.3 : I am unable to retrieve base64 data</li>
  </ol>
  
  <p>Am I doing anything wrong ?</p>