W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2015

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

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 20 Mar 2015 08:40:15 -0400
Message-ID: <550C152F.3000804@mit.edu>
To: whatwg@lists.whatwg.org
On 3/20/15 8:13 AM, Jake Archibald wrote:
> Almost all the pieces already exist, except a way to get the image data of
> a CanvasRenderingContext2D into a format that can be read from a
> url.

There's CanvasRenderingContext2D.toDataURL; I assume the problem is that 
it's not async, yes?  But if you're inside a worker anyway, do you care?

-Boris
Received on Friday, 20 March 2015 12:40:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:29 UTC