4 ms·
Because people who write SVG's usually don't know about the viewBox property[0]. They just use illustrator to draw the shape and then export it. [0]https://sar
by HugoDaniel 10y ago
Because people who write SVG's usually don't know about the viewBox property[0]. They just use illustrator to draw the shape and then export it.
[0]https://sarasoueidan.com/blog/svg-coordinate-systems/ https://sarasoueidan.com/blog/svg-coordinate-systems/
- wott 10y ago> They just use illustrator to draw the shape and then export it. You're lucky. Last designer I asked to provide a SVG image had obviously exported from a vector drawing tool to a bitmap, AND THEN converted to SVG. So you kinda had a whole SVG object for each pixel. It never occurred to him that a 40 MB SVG file might indicate a problem (when the point of having a vector format was partly to save memory).
- justinjlynn 10y agoI think your designer may have taken "pixel perfect" a little too literally.
- HugoDaniel 10y agoLots of <rect>'s in that SVG :D I wonder how big can the SVG DOM be in browsers before things start to get painfully slow