-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXCEPTION CAUGHT BY SVG help me plis #174
Comments
Can you include |
I am carrying that image and it is throwing that error. |
<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="a" y2="78.453%" x2="79.639%" y1="11.7%" x1="12.959%"><stop offset="0%" stop-color="#387EB8"/><stop offset="100%" stop-color="#366994"/></linearGradient><linearGradient id="b" y2="88.773%" x2="90.742%" y1="20.316%" x1="19.128%"><stop offset="0%" stop-color="#FFE052"/><stop offset="100%" stop-color="#FFC331"/></linearGradient></defs><path fill="none" d="M-1-1h130v130H-1z"/><g><g stroke="null" fill-rule="evenodd" fill="none"><path fill="url(#a)" d="M63.572 4.91c-30.11 0-28.23 13.078-28.23 13.078l.035 13.55H64.11v4.068H23.963s-19.266-2.19-19.266 28.24C4.698 94.28 21.514 93.2 21.514 93.2H31.55V79.077s-.54-16.844 16.548-16.844h28.498s16.01.26 16.01-15.5V20.678s2.432-15.77-29.034-15.77zM47.73 14.02c2.858 0 5.168 2.315 5.168 5.178 0 2.864-2.31 5.178-5.17 5.178-2.857 0-5.168-2.314-5.168-5.178 0-2.863 2.31-5.177 5.17-5.177z"/><path fill="url(#b)" d="M64.428 123.09c30.11 0 28.23-13.078 28.23-13.078l-.035-13.55H63.89v-4.068h40.145s19.267 2.19 19.267-28.24c0-30.432-16.816-29.353-16.816-29.353H96.45v14.122s.54 16.844-16.55 16.844H51.405s-16.01-.26-16.01 15.5v26.056s-2.432 15.77 29.034 15.77zm15.843-9.11c-2.858 0-5.168-2.315-5.168-5.178 0-2.864 2.31-5.178 5.17-5.178 2.857 0 5.168 2.314 5.168 5.178 0 2.863-2.31 5.177-5.17 5.177z"/></g></g></svg> |
I believe your problem is with |
Thanks, it works. |
Hi @dnfield
How can I update the svg pic attributes when I'm loading it using SvgPicture.network? |
Hello, don't ask me, but I faced your same problem and since I couldn't modify the null value in the remote svg, I had to modify the package code, this is my change to support the null value. |
The text was updated successfully, but these errors were encountered: