vbauer / manet

Website screenshot service powered by Node.js, SlimerJS and PhantomJS
MIT License
577 stars 102 forks source link

Support for webgl #5

Closed animanathome closed 9 years ago

animanathome commented 9 years ago

Hi there,

Thank you for creating manet. When running the following command: curl http://localhost:8891/?url=http://moveme.io/app.html#bG9hZCBhc3NldCB0aW55 > moveme.png

I get the following error: I'm getting an image which states that that the browser (gecko?) doesn't support webgl. Not sure if this actually due to something manet related. Maybe this is slimerJS related? Then again, as far as I understand slimerJS gets used by default by manet and slimerJS supports webgl. Maybe it's missing a flag/argument somewhere or maybe I'm doing something wrong. Any help welcome.

Thanks,

Manu

vbauer commented 9 years ago

Hello Manu,

Manet 0.2.5 was just released. I've tested it with SlimerJS on Windows 7 and it works fine with your example. I also tried PhantomJS, but there are some problems with PhantomJS and WebGL.. Could you please check it?

NB: Manet uses PhantomJS as engine by default (instead of SlimerJS). Configure it using "--engine" parameter, ex

manet --engine slimerjs
vbauer commented 9 years ago

@animanathome Did it help? Can we close this issue?

animanathome commented 9 years ago

Yes, that did help. Thank you. You can close the issue.

vbauer commented 9 years ago

Thank you for feedback.