Comments (3)
Hi, sorry for the delay. Do you have a working sample webpage with this code?
from simg.
Hey, so I figured the issue. I was using CSS to style my links and this CSS was not being included in the downloaded image.
I referred to http://spin.atomicobject.com/2014/01/21/convert-svg-to-png/ and got it working. You might want to look at adding this bit in to the library. If not, I can try doing it at a later point in time. Thanks for this library. It's a good utility.
from simg.
Good tip. I've busy at the moment but I will look to adding this in the future.
Thanks!
from simg.
Related Issues (11)
- 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
- Examples HOT 4
- using external fonts HOT 2
- Not working in Firefox or IE HOT 2
- Not working if a <foreignObject> is present? HOT 1
- Does not work HOT 2
- demo not working 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.