1904labs / dom-to-image-more

Generates an image from a DOM node using HTML5 canvas
Other
480 stars 104 forks source link

When an image is rendered in the Dom of SVG, it is lost when exported #172

Closed cMing1997 closed 2 weeks ago

cMing1997 commented 2 months ago

Use case: description, code

Expected behavior

Exports all elements in a given Dom

image

Actual behavior (stack traces, console logs etc)

There is no export for the image element

image

Library version

3.3.0

Browsers

cMing1997 commented 1 month ago

The Final Solution

Use the HTML IMG tag instead of the Image Tag in the SVG

IDisposable commented 2 weeks ago

Thanks for the follow up solution