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:56:37 -0400
Message-ID: <550C1905.6030001@mit.edu>
To: whatwg@lists.whatwg.org
On 3/20/15 8:53 AM, Kenji Baheux wrote:
> I believe that toDataURL is on Canvas not CanvasRenderingContext2D.
> https://html.spec.whatwg.org/multipage/scripting.html#canvasrenderingcontext2d
>
> The CanvasRenderingContext2D.canvas being null, there is no way to use it.

Oh.  Yeah, that's silly; we should add something to do this.

-Boris
Received on Friday, 20 March 2015 12:57:05 UTC

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