4 ms·
Why is it that they use a png to show the svg? Why not just render the svg?
by dyladan 11y ago
Why is it that they use a png to show the svg? Why not just render the svg?
- rhema 11y agoDepending on the complexity of the SVG (e.g. scribbles on top of scribbles), rendering SVGs can be very slow. If the SVG is not changing, it makes sense to render it as little as possible. I am doing the same thing with a d3 project, where the browser has trouble redrawing 50k elements.