What does HackerNews think of html2canvas?

Screenshots with JavaScript

Language: TypeScript

#37 in JavaScript
Yes – our least supported dependency is html2canvas[1] (for screenshotting), which is supported in Chrome 1, Firefox 3.5, Opera 12, IE9+, Safari 6+. The rest of our front-end is a React app, so if your browser can run React (which is IE9+ I believe) then it should work on FeaturePeek. Give it a try and let us know if you encounter any issues.

[1] https://github.com/niklasvh/html2canvas/

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

This project(at least for me) is a little bit misleading. Because it isn't rendering HTML using WebGL.

It using html2canvas[0] to rasterize the browser rendering into a canvas, upload it to WebGL, apply effects and patch-back events(i.e. mouse clicks) back to the hidden browser dom elements. (On the other side, font hinting and such are not really a problem)

Implementing full UI framework over WebGL has it merits, and hopefully someone will make a useful(and not html+css based) one some day.

[0] https://github.com/niklasvh/html2canvas

Yeah, the iOS 7 'frosted glass translucency is impossible to achieve with CSS. Everyone points to filter: blur(), but that only blurs the element, and not items behind it.

The only thing I could come up with was using something like HTML2Canvas[1] to render a portion of the DOM in a canvas/image, position that exactly on top, and then blur that. But all that seems quite convoluted and heavy, so decided not to invest any energy into it.

[1]: https://github.com/niklasvh/html2canvas

Even better, take Screenshots of any Website/App with just JavaScript and Canvas: https://github.com/niklasvh/html2canvas
Every one who is interested in that should take a look at the great html2canvas library:

https://github.com/niklasvh/html2canvas

It's possible: https://github.com/niklasvh/html2canvas

But.. I'm not sure it's going to work out too well. You'd probably do better off using a service like http://webthumb.bluga.net/home but it gets complicated quickly (although it's been a cpl years since I looked into this so things may have come along).