Svgi – An SVG inspection tool
angelmmiguel.github.io
angelmmiguel.github.io
Discussion about this for the Firefox Devtools here: https://discourse.mozilla-community.org/t/better-svg-editing... Maybe you want to chim in with suggestions ;)
It'd be really nice if your tool could output this, but I don't know whether it'd be in scope. It would mean following through all the paths and transformations for each element.
(This usually comes up if someone has given me their line-art and text logo as a JPG and I use some tool to convert it, then tidy it by hand.)
The main idea of this tool is to inspect the SVG. Currently, I don't plan to add any edition feature. However, I want to add a linter and this could be a great suggestion. I think it's possible to calculate the minimum viewBox and show the value as a suggestion if it's different from the current one.
What do you think? Thanks!
I tried to make animated SVGs once and I haven't found any reasonable way other than editing the source by hand. It was pretty painful, since Inkscape adds a lot of junk to the SVG.
This would probably help a lot.
For example, if I see that the number of FuncIRIs is zero, I can know that it is safe to use the SVG inline as there will be no id collisions with other inline SVGs.