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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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