3 ms·
Related: https://jakearchibald.github.io/svgomg/ https://jakearchibald.github.io/svgomg/
by v33ra 7y ago
Related: https://jakearchibald.github.io/svgomg/ https://jakearchibald.github.io/svgomg/
- pixelbath 7y agoI used this tool just the other day; very comprehensive, and very fantastic.
- bastawhiz 7y agoHardly a day goes by that I don't use svgomg. If you need a one-off SVG minified, this is the tool for you.
- pier25 7y agoI use it every time I'm using SVG for the web. My only problem is that when pasting SVG directly from Illustrator it finds an invalid character at the end and refuses to use it. I have to paste the SVG into an editor, remove some invisible character at the end, and then paste to svgomg. I reported this and offered to PR but never got an answer: https://github.com/jakearchibald/svgomg/issues/145 https://github.com/jakearchibald/svgomg/issues/145
- arciini 7y agoMy protocol for dealing with no-PR's has been (especially in this case where you can just host the tool on github.io) 1. Just fork it and use your own version until the PR is accepted 2. Directly email the maintainer if you think your PR is worthwhile 3. If you have a bunch of PR's that are pretty useful to others, consider making it a real distributable (and not just a personal) fork if the maintainer still doesn't respond
- saagarjha 7y agoIs it legal to have a NUL byte in an SVG? Might want to also contact Illustrator as well if it's not.
- ambicapter 7y agoWhy ask, just write the PR and see if they'll take it.
- pier25 7y agoI've done that in the past and some PRs are still there collecting dust.
- ambicapter 7y agoTheir loss. On the flip side, if anyone ever comes back or takes over the project, they'll have PR's ready to go.