tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.21k stars 1.68k forks source link

Most of the issues have been fixed in forked library `modern-screenshot` #453

Open qq15725 opened 1 year ago

qq15725 commented 1 year ago

This is not an issue

See modern-screenshot details

Hope it helps everyone

DydjyZ commented 1 year ago

Good advice, worked for me!

Henry-Hong commented 1 year ago

It doesn't really fixed the simple problem 'margin' issue.

https://github.com/tsayen/dom-to-image/issues/77

qq15725 commented 1 year ago

Fixed, view https://jsfiddle.net/ow80514c/1/

pthieu commented 10 months ago

was able to get a React component rendered and saved to a PNG without it showing up on screen: https://github.com/qq15725/modern-screenshot/issues/41#issuecomment-1681645771 thanks @qq15725