5 ms·
Try using their console: http://html2canvas.hertzen.com/screenshots.html http://html2canvas.hertzen.com/screenshots.html Very impressive! Can someone explain h
by paraschopra 15y ago
Try using their console: http://html2canvas.hertzen.com/screenshots.html http://html2canvas.hertzen.com/screenshots.html
Very impressive! Can someone explain how _exactly_ does it work? Has the author implemented a renderer inside JavaScript?
- beaumartinez 15y agoHe explains on its GitHub page[1]—"the script renders the current page as a canvas image, by reading the DOM and the different styles applied to the elements." [1] https://github.com/niklasvh/html2canvas#readme https://github.com/niklasvh/html2canvas#readme
- deleted 15y ago[deleted]