-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Svg with data URI embedded image losing image after conversion #387
Comments
Hi, Is this a duplicate of #383? |
In my case it does not work regardless of whether unsafe flag is enabled or not. But could potentially be related. Is there any more information I can provide to help that I left out in the first comment? |
Yes. Could you please share a SVG file generated from your template? If it contains personal data you don’t want to share publicly, you can send a mail. |
Sure thing, just shared over email |
It’s fixed, feedback is welcome! |
Hello
After constructing an SVG with the following format:
After converting with:
It returns a black filled version of the shape cropped with the clipPath, but the image is not kept. After searching through some of the other issues, I attempted to install the other dependencies recommended (Pillow and the css specific ones); switching to using xlink:href rather than href and enabling unsafe mode, with no success.
I think the docs mentioned support of all of the approaches I'm using in the svg construction, and I have run out of ideas to try.
I've confirmed saving the exact same string to disk with the below works fine as expected:
To test, I checked what the
svg2svg
output was and no image is present:The text was updated successfully, but these errors were encountered: