Comments (8)
such as this, i get all black pixels
<svg id="layer_1" data-name="layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><defs><style>.cls-1{fill:#47506a;fill-rule:evenodd;}.cls-2{fill:none;stroke:#3866f0;stroke-width:4px;}.cls-3{fill:#fff;fill-opacity:0;}</style></defs><g id="main"><g id="all_tools"><g id="group-24"><g id="v2_icon_award" data-name="v2 icon award"><path id="shape" class="cls-1" d="M24,1a20.15,20.15,0,0,1,9.52,37.83V47L24,41.25h0L14.48,47V38.83A20.15,20.15,0,0,1,24,1Zm0,4.79A15.34,15.34,0,1,0,39.24,21.12,15.29,15.29,0,0,0,24,5.79Z" transform="translate(0 0)"/><circle id="shapeColorSymbol" class="cls-2" cx="24" cy="21" r="8"/><rect id="rect" class="cls-3" width="48" height="48"/></g></g></g></g></svg>
from svgren.
the issue is now fixed! Thank you so much
from svgren.
I'm not sure I understand the use case. Could you provide the full sample SVG file?
from svgren.
thanks, I'll have a look
from svgren.
fixed in version 0.6.0
. Please also update svgdom
to version 0.4.0
from svgren.
fixed in version
0.6.0
. Please also updatesvgdom
to version0.4.0
thanks, i test it in my demo project, most of my svg file works very well,but still one resource has problem,the resource is:
<svg id="layer_1" data-name="layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><defs><style>.cls-1,.cls-3{fill:none;}.cls-2,.cls-4{fill:#47506a;}.cls-3{stroke:#3866f0;stroke-width:4px;}.cls-4{fill-rule:evenodd;}</style></defs><g id="main"><g id="all tools"><g id="group-13"><g id="drive"><rect id="rect" class="cls-1" width="48" height="48"/><rect id="rect-2" data-name="rect" class="cls-2" x="12" y="32" width="24" height="4"/><g id="group-2"><polyline id="shapeColorSymbol" class="cls-3" points="13 27.29 18.61 23.34 23.74 26.92 32.26 20.41"/><polyline id="shapeColorSymbol-2" data-name="shapeColorSymbol" class="cls-3" points="26 19 33 19 33 26"/></g><path id="shape" class="cls-4" d="M36,6h9V39.76L40.76,44H7.24L3,39.76V6h9v5H8V39H40V11H36ZM19,3V13H14V3ZM34,3V13H29V3ZM27,6v5H21V6Z" transform="translate(0 0)"/></g></g></g></g></svg>
from svgren.
Ok, I'll investigate
from svgren.
fixed in:
cssom
version0.2.0
svgdom
version0.4.1
svgren
version0.6.1
from svgren.
Related Issues (20)
- Image element not rendered HOT 5
- rgb(%) support HOT 6
- Initial render very slow with protected software HOT 10
- Render SVG file by string HOT 1
- cocoapods svgren not found HOT 4
- utki cocoapod doesn't have a lib HOT 5
- Support for stroke-dasharray and stroke-dashoffset HOT 4
- Unresolved external symbol HOT 6
- Not correctly displaying shapes. HOT 8
- Pixel layout & console output HOT 5
- division by 0
- compiling errors after update to the latest version HOT 5
- add <pattern> support
- No Images loaded since last Update HOT 46
- VS2017 v141 toolset link failed HOT 6
- Problem rendering Instagram logo HOT 5
- XCFramework support HOT 10
- Tutorial needs update: requires C++/17 standard, not C++/11 HOT 2
- Artifact when drawing SVG with `circle` HOT 3
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 svgren.