c# - Save current page to image -


i'm working on project requires save current page in image. found examples in javascript create blob of page, save page in file.

my question is, possible save content of page in image file?

does plugin exist directly ?

if not, possible save blob , render blob in c# create image?

to save page image, can use http://html2canvas.hertzen.com/

example:

var canvas = document.getelementbyid("mycanvas"); var img    = canvas.todataurl("image/png"); document.write('<img src="'+img+'"/>'); 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -