Do you have SVG files that render fine with some browsers or programs but render wrong in others?
This is due to software not supporting all of SVG's features.
svg-simplify
replaces masks with gradients in some situationsstack install
SVG rendering feature support | mask | css rule aggregation | |
---|---|---|---|
Browsers | Chrome | ✅ | ✅ |
Firefox | ✅ | ✅ | |
Safari | ✘ | ✅ | |
Drawing Apps | Adobe Illustrator | ✘ | TODO: check |
InkScape | ✅ | ||
SVG-edit | ✘ | ||
Conversion Tools | ImageMagick | ✅ | |
rsvg-convert | ✅ | ||
qlmanage | ✘ | ||
Libraries | JUCE | ✘ | ✘ |
Other | VS Code Preview | ✅ | ✅ |