Re: [whatwg] Canvas image to blob/dataurl within Worker

On Wed, Mar 25, 2015 at 4:28 PM, Robert O'Callahan <robert@ocallahan.org>
wrote:

> On Thu, Mar 26, 2015 at 8:40 AM, Justin Novosad <junov@google.com> wrote:
>
>>
>> Eliminating the transit through canvas also
>> allows for fast paths for capturing blobs from <video>, <img>, svg, URLs,
>> to name a few.
>>
>
> With new APIs on those elements, you mean?
>

Not necessarily. I meant like this:

createImageBitmap(myImageSource).then(function (image) {
image.toBlob().then(admireYourShinyNewBlob); });

Received on Wednesday, 25 March 2015 20:43:53 UTC