Ask HN: Best screenshot generation API? 6 points by bigdicklouie 8y ago ↗ HN I need an API to generate screenshots of web pages. I'll pass the URL, it'll return a screenshot, ideally nicely compressed.
[–] henrixd 8y ago ↗ I don't have much more knowledge about this than you probably have and I'm sure you did your own googling but just in case you missed this: https://stackoverflow.com/questions/4912092/using-html5-canv...Suggested tool by best answer was this. https://github.com/niklasvh/html2canvas [–] jarvisdung 8y ago ↗ thank you this is what i need
[–] graystevens 8y ago ↗ We built our own using Chrome Headless and some python. This allows us to use a Tor proxy where required, capture full height screenshots, and dump the DOM.
4 comments
[ 6.6 ms ] story [ 11.2 ms ] threadSuggested tool by best answer was this. https://github.com/niklasvh/html2canvas