Search code examples
javascriptjqueryimagescreenshothtml

How can I create an image from a region of a screen in Javascript?


I have a web app where a user can assemble a user interface (such as another webpage) out of some set of user interface components and I want to provide the option to create an image snapshot of what the user has created. In this way I want to be able to programmatically select, using JS (for example, using jQuery) a region of the browser's displayable area and create a bitmap from this region.

Thank you!


Solution

  • Maybe this can help you: http://html2canvas.hertzen.com/