jsvg
jsvg copied to clipboard
Filters should be applied in linear rgb space
For the most part this doesn't make that much of a difference. However for feColorMatrix
the difference is very much noticeable. Fixing this might also make gaussian blurs more closely match the spec/batik.
Currently colourspaces aren't checked. In particular feColorMatrix
always filters in sRGB
.