Page 1 of 1

SVG href image not showing in PDF conversion

Posted: 2018-06-07T06:52:02-07:00
by javastorme
Hi! I've had this issue for a few days and have tried a number of things. Essentially, I'm having users edit an SVG and once they're finished, they save it back to a file path on the server. My problem is my SVG contains an href to a file in a directory. As an SVG, it can reference the file with no problem but when I convert the file to a PDF, it doesn't have the image but it does have the other SVG elements such as lines and text. Has anyone had this issue or know how to resolve?
Side note: I'm using ImageMagick in C# but the commands to do this should translate.

Re: SVG href image not showing in PDF conversion

Posted: 2018-06-07T08:02:41-07:00
by snibgo
Does the SVG show correctly with Inkscape? If not, then the SVG has an error.

What delegate is ImageMagick using to render the SVG? (What does "-verbose" say?) If not Inkscape, then try it using Inkscape.