html2canvas is a JavaScript HTML renderer. The script provides you with the tools to take screenshots of webpages directly on the browser. The screenshot is based on the DOM and therefore, it may not be 100% accurate to the real representation, given that it is not an actual screenshot, but a type of screenshot built based on the available data and information of the page. The script renders such page as a canvas image, by reading the DOM and the different styles of the featured elements. It doesn't require rendering from the server, given that the image is created on the user's browser. However, as it is heavily dependent on the browser, the library is not to be used in nodejs. It can't circumvent any browser content policy restrictions and to render cross-origin content a proxy will be needed to get the content to the same origin.

Features

  • The script allows you to take screenshots of webpages
  • Screenshots are based on the DOM
  • The library works with Chrome, Firefox, Opera, IE9, Edge and Safari
  • The script doesn’t render plugin content such as Flash or Java
  • To build a screenshot, it gathers information on all the elements on the webpage

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow html2canvas

html2canvas Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of html2canvas!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Screen Capture Software, TypeScript PostScript Software, TypeScript Image Recognition Software

Registered

2021-01-21