Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try using their console: http://html2canvas.hertzen.com/screenshots.html

Very impressive! Can someone explain how _exactly_ does it work? Has the author implemented a renderer inside JavaScript?



He 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: