I use Raphael JS to add an image to dom and then I use toPng function to get an image of the dom. I get an image that doesn't contain the image added using Raphael.
Here is an image of the web page I'm trying to take a picture of. The
highlighted blue contains an svg element created using Raphale JS. Dom-to-image doesn't capture this element.
I use Raphael JS to add an image to dom and then I use toPng function to get an image of the dom. I get an image that doesn't contain the image added using Raphael.
Here is an image of the web page I'm trying to take a picture of. The
Here is the svg element:
Am I doing anything wrong?
I'm experiencing a similar Issue, actually.
I have a generated SVG, but the image tag within it is not being detected by DomToImage:
Otherwise, everything else works great!