Proposal: Add getBlob to the Canvas API referencing the File API

Has this been discussed before?

getBlob, from the File Writer API, is now a viable alternative to using 
the toDataURL method for many Canvas use cases.
Currently, one must run toDataURL, pop off the data uri prefix, then 
push through atob and ArrayBuffer to get a Blob.
Adding ".getBlob(content type, optional options)" to the Canvas element 
would save those very unnecessary steps.

Received on Monday, 15 November 2010 17:58:15 UTC