Filters should be applied in linear rgb space
Opened this issue · 1 comments
weisJ commented
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
.
weisJ commented
feColorMatrix and feBlend now do this correctly. Other filters will need to follow.