Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Scott M Sunarto
is it possible to improve rendered image/assets quality?
Hamit Tokay
hello everyone. how can i directly download the image
Is this available on react?
The proxy stuff
Hi everyone
Why is html2canvas tryin to get css from a path doesn't exists???
Is there any configuration for the relative paths?
hi I am using polymer components on webpage and html2canvas is unable to take snapshot of those component can someone help me with this?
i can't use html2canvas at iphoneX even safari...
is there anybody can help me?
Hi is this still the case: "The script is still in a very experimental state, so I don't recommend using it in a production environment nor start building applications with it yet, as there will be still major changes made."?

I used html2canvas library from https://html2canvas.hertzen.com/

And it's not working with multiple jQuery library exists into site.

It throws error like : Uncaught ReferenceError: html2canvas is not defined

please let me know how can i fix ?

I am used create screenshot using html2canvas library into my bug tracking project built into CI.

In that one jquery library always exits but if other library exists from another website then it's throw error as per mention above

Christian Rey Ompad
Hello, has anybody tried using html2canvas with a storyline course?
It works fine and all but the the way the image is not the same with what is on the body. you can try out my app here: https://shots-test.firebaseapp.com/
Pedro Henrique Braga da Silva
hi !
how do I compress the image after "toDataURL('image/png')" ?
Cristobal Chao

I've found that running html2canvas@latest in Safari, fonts are not rendered properly (as shown on the picture below on the right, left image is the original DOM). This works well in Chrome/Firefox. Does anyone know how to fix this?


Codepen demo: https://codepen.io/anon/pen/zXbxVM?editors=1100

Hi I am facing problem after upgrading my html2canvas.js version (html2canvas 1.0.0-rc.1 ) please find my error escreen shot.
my code is

Hi Techies,
I am a beginner in the scripting language. I need assistance to achieve my requirements.
In the above-attached HTML file (Needhelp.html), I want to remove (without making changes to <div class="PivotContainer"> ) the first row (above the headers ) and export the table into Excel, CSV & PDF formats.
Browser Compatibility: IE, Firefox & Crome.

Any help will be appreciated.

Mustafa Bahadır Pakalın
Hello everybody
May i ask some question ?
can i ask if html2canvas download all the images presented in the page without checking if it's included in the elements we wanted to use?
has anyone used html2canvas to copy screenshot clipboard. I tired it seems to work copying to ne browser tab . But i would like copy the clipboard content into email or chat systems
Bilal Ahmed
Hello everybody ?? I am facing a problem in html2Canvas when I am using this on Firefox, actually the problem is some time it render canvas correctly when i export my <div> in jpg image, but some time it is not rendering properly when i export in image. If some one know how to resolve it. kindly help me out. I will be very thankful to you..
hi anyone there
I'm trying to use this fork https://github.com/grahamkane/html2canvas in my angular app but when I run the application angular is not able to import anything form 'html2canvas'. I check the html2canvas folder in the node_modules and there is no dist folder
Can anyone help me with this?
Sami Ullah
can anyone tell me how to use html2canvas without using .then and using some callback
phu dao
Hi @niklasvh I'm trying to use it for my production app, can I know the reason why you mentioned that it not ready for production.
@muftisamiullah you should be able to use async / await to get access to the canvas object returned by html2canvas and not worry about explicitly defining callbacks.
John Reagan
Hi everyone, is this library still maintained? No updates in the last 4 months, @niklasvh hasn't had a github contribution since November. If not, is there an alternative or maintained fork that anyone could recommend?
+1 to John's question.
@JohnReagan the only other library I know of that does anything similar is https://www.npmjs.com/package/rasterizehtml Though it works via a different mechanism: https://stackoverflow.com/questions/16870404/whats-the-difference-between-html2canvas-and-rasterizehtml-js
Rashmi D
Hi @niklasvh. I second @dsyphu question - Can we know the reason why you say it is not ready for production?
Heeey guys, I am implementing functionality of html2canvas into an angular app, but in some cases I get error with dimensions 0 and in some cases when screenshot was done successfully there are some missing css properties, the image is not same as page...how to deal with that? thx
Hesham Watany
anybody here urgent ?
have same problem as @marianharbist
and also it is not working probly in ophone 11
probably on iphone 11
Sanket Thotange
I am trying to render amcharts as a part of my screen capture feature. But it does not capture the font family inside amcharts.
I am developing angular project. when I want to print the page pdf, font awesome icons are not rendered in the page. Do you have a clear solution?
can you tell me why http://cdn.umb.no/external/full/4817.jpg image url is not supporting to html2canvas


I have made intervue.io (https://www.intervue.io) to make remote interviewing less painful. Nothing to sell, but want to make sure that we're building a product that actually helps.

I've spoken to few people, but not the techies, who are end user of this product, and I'm having a hard time understanding how to get in touch with them.

Would you have time to try this out (may be in one of your upcoming interviews that you or someone from your team takes)?