πŸ“Έ Managed to get html2canvas.js function working on local! Screenshot feature incoming...

Jason Leow Author

It's a CORS issue I think.

0 Likes
Jason Leow Author

Thanks dude! Will check it out! I'm having issues with it capturing images from external images using html2canvas… does html2image solve that problem well?

0 Likes
Klint

If you're still undecided, I'd recommend you also check out https://github.com/bubkoo/html-to-image, it's newer, more maintained, has a bunch of extra features (like SVG support), and is also a smaller package https://bundlephobia.com/package/html-to-image@1.11.11

0 Likes
Klint

Not sure TBH (I've used it for taking anonymized screenshots), but that sounds like a bug with html2canvas, I'd be surprised if html2image had a similar bug

0 Likes

Please sign in to leave a comment.