javascript - How to convert .html files into canvas using nodejs
滿天的星座2017-06-06 09:52:47
0
1
554
1. There is a page that needs to be converted into canvas. Part of the content in the page is generated by JS. Now you need to use nodejs to convert this page into a picture. How to implement this function?
You might as well try a Headless Browser like PhantomJS http://phantomjs.org/
It can render the page content as an image as a whole on the Node side.