I solved such task launching a separate X server and making a screenshot of a chromium running there. It's perfect in terms of accuracy, but might be just too heavy on resources.
On Sunday, May 5, 2013 2:59:10 AM UTC, Mark Hahn 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] 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.
