Problem when integrating an SVG image #715
-
I am trying to embed a .svg image in my pdf using the line: But I get the following error that I can't find on the Internet. I put the image in attachment |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Leopold194! If you open this file with a text editor, you will see thi one the line 14: fill="url(#paint0_linear_137_38) This is a reference to the <linearGradient id="paint0_linear_137_38" x1="0" y1="46.63" x2="595.28" y2="46.63" gradientUnits="userSpaceOnUse">
Currently, the best I can suggest is either:
|
Beta Was this translation helpful? Give feedback.
Hi @Leopold194!
If you open this file with a text editor, you will see thi one the line 14:
This is a reference to the
def
on line 3:url()
asfill
values are part of the SVG feature thatfpdf2
currently does not support:Currently, the best I can suggest is either:
url(#paint0_linear_137_38)
by#56B35D
in your SVG source image, andfpdf2
will be able to insert it, but you will loose the gradient effect.fpdf2
and add support …