You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in one of my svgs to be included in a pdf, I'm trying to embed an svg image from a local file, on my Node server, through: <svg><image href="full-path-to-local-svg-image-file/test-image.svg"/></svg>
This works successfully for me for local png files (.png).
But if I try the same with an svg file, I get the error:
"SVGElemImage: failed to open image "full-path-to-local-svg-image-file/test-image.svg" in PDFKit"
Is loading of svg files through <image href="..."> supported or not?
Thanks for any hints on this.
The text was updated successfully, but these errors were encountered:
Hi, in one of my svgs to be included in a pdf, I'm trying to embed an svg image from a local file, on my Node server, through:
<svg><image href="full-path-to-local-svg-image-file/test-image.svg"/></svg>
This works successfully for me for local png files (.png).
But if I try the same with an svg file, I get the error:
"SVGElemImage: failed to open image "full-path-to-local-svg-image-file/test-image.svg" in PDFKit"
Is loading of svg files through
<image href="...">
supported or not?Thanks for any hints on this.
The text was updated successfully, but these errors were encountered: