[whatwg] Canvas as an object

nullv at gmx.com nullv at gmx.com
Fri Mar 30 06:34:37 PDT 2012

Hi All,

I recently had a project that required me to analyse multiple streams of video data. 

My idea was to spawn a Worker for each video pair, have it do the analysis and then present the results back to the main page. However, since the Canvas element is not instantiable from within a worker (due the document prohibition) this idea is not feasible and have had to revert to where I use multiple setIntervals inside the html page.

My suggestion is, considering that the Canvas element can be used for offscreen rendering etc shouldn't it be allowed it create an object of such from within Worker like we can do with Image?


More information about the whatwg mailing list