tsayen / dom-to-image

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

Image is blank in PDF only in safari ,double time rendering also not working. #435

Open shahidshaLumel opened 2 years ago

shahidshaLumel commented 2 years ago

Use case: description, code

domtoimage.topng(element,option)

Expected behavior

should work as expected like in chrome

Actual behavior (stack traces, console logs etc)

gives blank canvas in pdf

Library version

2.6.3

Browsers

safari

qq15725 commented 1 year ago

You can try https://github.com/qq15725/modern-screenshot

try fixed undecoded image for safari

lilaboc commented 10 months ago

You can try https://github.com/qq15725/modern-screenshot

try fixed undecoded image for safari

Tried modern-screenshot, it's still not so stable on Mac Safari :(