bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
MIT License
5.4k stars 505 forks source link

Two images in canvas, one renders, the other does not #411

Closed jonathanrstern closed 1 year ago

jonathanrstern commented 1 year ago

"If the DOM node you want to render includes a element with something drawn on it, it should be handled fine, unless the canvas is tainted - in this case rendering will rather not succeed."

Any update on the above?

Any hacks or workarounds so that both images (both are in a element) render?

vivcat[bot] commented 1 year ago

👋 @jonathanrstern

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

jonathanrstern commented 1 year ago

Just following up!

jonathanrstern commented 1 year ago

It was a margin: auto problem

vivcat[bot] commented 4 days ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.