RESOLVED CONFIGURATION CHANGED 51652
Add canvas.toBlob
https://bugs.webkit.org/show_bug.cgi?id=51652
Summary Add canvas.toBlob
Charles Pritchard
Reported 2010-12-27 13:22:46 PST
Using the same semantics as toDataURL (image/png is the default output), add Blob getBlob([Optional] in DOMString contentType, [Optional] args...). Currently, an image must be copied to a string using toDataURL, then to an array buffer using base64 decoding, before it can be run through createObjectURL. getBlob would reduce the number of operations.
Attachments
Charles Pritchard
Comment 2 2011-09-04 10:10:05 PDT
Support for Canvas toBlob is likely to come from Chromium: http://code.google.com/p/chromium/issues/detail?id=67587
Ryosuke Niwa
Comment 3 2017-02-16 20:47:47 PST
Anne van Kesteren
Comment 4 2023-08-23 00:42:39 PDT
This was added at some point.
Note You need to log in before you can comment on or make changes to this bug.