Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like toDataURL() function is disabled or not available in node-webgl #52

Open
Prajwal99 opened this issue Sep 22, 2016 · 0 comments

Comments

@Prajwal99
Copy link

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

jingchan pushed a commit to jingchan/headless-gl that referenced this issue Feb 6, 2017
working examples, utilities and very brief hints to make them run on …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant