You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In node.js, using node-webgl library I define a canvas element. and all rendering takes place in that canvas. However, when I use the function canvas.toDataURL(), the error says canvas.toDataURL() as undefined.
Here is the link where I have posted the info in details with errors: [(http://stackoverflow.com/questions/39591877/canvas-todataurl-is-not-a-function-error-in-javascript-code-running-in-node)] ,
Had a doubt, am I missing something or not accessing it properly or the feature is not available now in node-webGL ? Any alternatives for the same to extract the data of canvas defined under library node-webGL ?
Note: But it canvas is defined using require('canvas'), then if some drawing is made in canvas and the function canvas.toDataURL() works under this library, unfortunately WebGL is not supported in node-canvas library.
Thanks & Regards,
Prajwal
The text was updated successfully, but these errors were encountered:
jingchan
pushed a commit
to jingchan/headless-gl
that referenced
this issue
Feb 6, 2017
In node.js, using node-webgl library I define a canvas element. and all rendering takes place in that canvas. However, when I use the function canvas.toDataURL(), the error says canvas.toDataURL() as undefined.
Here is the link where I have posted the info in details with errors: [(http://stackoverflow.com/questions/39591877/canvas-todataurl-is-not-a-function-error-in-javascript-code-running-in-node)] ,
Had a doubt, am I missing something or not accessing it properly or the feature is not available now in node-webGL ? Any alternatives for the same to extract the data of canvas defined under library node-webGL ?
Note: But it canvas is defined using require('canvas'), then if some drawing is made in canvas and the function canvas.toDataURL() works under this library, unfortunately WebGL is not supported in node-canvas library.
Thanks & Regards,
Prajwal
The text was updated successfully, but these errors were encountered: