What does HackerNews think of svgcleaner?

svgcleaner could help you to clean up your SVG files from the unnecessary data.

Language: Rust

#68 in Rust
I'm not sure, but it seems svgcleaner can remove unused and invisible graphical elements[1]. I don't know if TinyVG preserves them. but if it does, it's not a fair comparison.

Did you try converting svgcleaner processed SVG to a TVG?

[1] https://github.com/RazrFalcon/svgcleaner

> The added advantage is the artwork developed using inkscape can directly be used as svg images in website and single page app

We had a lot of success cleaning Inkscape's svg output.

See here for solutions: https://news.ycombinator.com/item?id=20680559

I'm pretty happy with svgcleaner (https://github.com/RazrFalcon/svgcleaner)

Another svg optimizer (link contains comparison to svgo): https://github.com/RazrFalcon/svgcleaner
Yet another alternative that has benchmarks against svgo and scour is svgcleaner: https://github.com/RazrFalcon/svgcleaner.

It is written in Rust and has been my go to for SVG optimization due to its speed.

I came here to write the same. svgcleaner[1] will reduce it from 8.4KiB to 1.3KiB (compressed with zopfli). Which is 85% smaller.

And a manually crafted one is just 477B. And 261B compressed. Which is just 3% of the original.

Now we can talk about bloatedness.

  
    
    
    
        FPSLIMIT15
    
  
[1]: https://github.com/RazrFalcon/svgcleaner
svgcleaner is supposed to be faster and have a better compression ratio than svgo: https://github.com/RazrFalcon/svgcleaner

It also has a GUI.

SVG is not a colored paths container. There are far more things that it can do and far more ways to optimize it.

Instead of SVGO you can use svgcleaner[1] with zopfli, which is a bit better.

Yes, nothing compares to manual optimizations, but if you created an SVG using a vector editor - there is no point in manually removing all the garbage it adds in.

1: https://github.com/RazrFalcon/svgcleaner