Re: Reading image bytes to a PNG in a typed array

On Mon, Jan 14, 2013 at 7:04 AM, Florian Bösch <pyalot@gmail.com> wrote:

> On Mon, Jan 14, 2013 at 4:00 PM, Glenn Maynard <glenn@zewt.org> wrote:
>
>> You want toBlob, not toDataURL.
>>
> So how would I stick a blob into an arraybuffer?
>
>
I don't think there's any reason we can't have toArrayBuffer as well.  The
hard part from an implementation perspective is asynchronously encoding the
image, not what we stick it in.

- Kyle

Received on Wednesday, 16 January 2013 12:30:07 UTC