Comments (1)
Hi, in general if you can't see the SVG in a regular webpage you can't convert it to an image. I pasted your code to a regular HTML page and couldn't view it so that's prob why it doesn't work. I'm not familiar with this SVG tag but my research shows its supposed to be rendered by a different user agent not the browser? https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
In any case I will close this issue as not possible to support.
from simg.
Related Issues (11)
- Examples HOT 4
- Downloaded image not showing svg line gradients HOT 3
- using external fonts HOT 2
- Not working in Firefox or IE HOT 2
- Does not work HOT 2
- demo not working HOT 1
- Doesn't convert icons
- Problem in toBinaryBlob base64 decode - escaping
- outerHTML on SVGElement for IE and removing Namespaces
- simg.js:37 Uncaught TypeError: svg.setAttribute is not a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simg.