Hacker News new | past | comments | ask | show | jobs | submit login
Working with SVGs for icons on the web (abiraja.com)
11 points by abi on Oct 2, 2022 | hide | past | favorite | 2 comments



On the topic of compression, I often see SVGs with way too many significant figures. Something like <path d="M1.571557 3.647362L7.818526 9.715314" />. If you round it to the first three, I guarantee no one will notice a thing.


Totally, I believe SVGO (https://jakearchibald.github.io/svgomg/) does this for you as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: