Open peng-qd opened 3 years ago
That'd be extremely useful. Primarily also to be able to trim the precision for floating point values. There's a lot of potential to actually reduce file sizes in situations where only 1 or 2 digits precision is required.
I don't know how to do it but feel free to open a PR
hi @twardoch ,
Thank you very much for creating such a great tool. I can see you mentioned in the doc & code that the svgop takes a predefined set of plugins to optimize the svg files. However, recently we found the svg files optimized using svgop is not displayed correctly in IE 11 (guilty for supporting ancient browser..). We thought if we could disable some plugins (like "--disable=RemoveViewBox") then the optizimized svg should be working in IE.
Could you please let me know if allowing speicify disabled plugins will be supported in next version? Cheers,