PhantomJS is the option. But you have to install Phantom binary. It is not node.
On Sunday, May 5, 2013, Felipe Mobus wrote: > Mark, > > PhantomJS's documentation[1] seems to suggest full-page capture should be > possible using the page.render() method. > > [1] https://github.com/ariya/phantomjs/wiki/Screen-Capture > > > On Sun, May 5, 2013 at 12:10 AM, Mark Hahn <[email protected]<javascript:_e({}, > 'cvml', '[email protected]');> > > wrote: > >> I forgot to mention that I looked at phantomjs. Am I wrong or is it only >> for rendering js code, not html? Nothing in the phantomjs samples shows >> rendering an actual complete web page. >> >> >> On Sat, May 4, 2013 at 7:59 PM, Mark Hahn <[email protected]<javascript:_e({}, >> 'cvml', '[email protected]');> >> > wrote: >> >>> I need to make thumbnails that represent web pages given the urls. I'd >>> prefer to do it in a node environment. I wouldn't like to install lampp or >>> some other environment for this one purpose. >>> >>> I know jsdom and cheerio but that only gets me to the dom. How do I >>> render that to an image? Node already has V8 lying around but that doesn't >>> include webkit, right? >>> >>> Any ideas, no matter how wild, would be appreciated. >>> >>> >> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to >> [email protected]<javascript:_e({}, 'cvml', >> '[email protected]');> >> To unsubscribe from this group, send email to >> [email protected] <javascript:_e({}, 'cvml', >> 'nodejs%[email protected]');> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:_e({}, 'cvml', >> 'nodejs%[email protected]');>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Felipe Mobus > http://fmobus.wait4.org > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', '[email protected]');> > To unsubscribe from this group, send email to > [email protected] <javascript:_e({}, 'cvml', > 'nodejs%[email protected]');> > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:_e({}, 'cvml', > 'nodejs%[email protected]');>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Arunoda Susiripala @arunoda <http://twitter.com/arunoda> <http://gplus.to/arunoda>https://github.com/arunoda http://www.linkedin.com/in/arunoda -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
