I recently needed to add filter: brightness(2.0); to my SVG's CSS. But converting it with 0.5.0 showed no indication that the filter was being used. I tried some other filters, and they were similarly ignored. I use the convert() API call, with no options, simply pass in the SVG string.
So I upgraded to 0.6.0, and the filter was recognized and used. However, a couple of issues cropped up.
the SVG was dimmer than its render in the browser (and dimmer than its render using 0.5.0)
stroke-width seems to be ignored
I haven't found any other issues, as I reverted back to 0.5.0. I'll have to find some other way to handle the required brightness.
Let me know if you'd like some samples. I'm happy to help any way I can.
I recently needed to add
filter: brightness(2.0);
to my SVG's CSS. But converting it with 0.5.0 showed no indication that the filter was being used. I tried some other filters, and they were similarly ignored. I use theconvert()
API call, with no options, simply pass in the SVG string.So I upgraded to 0.6.0, and the filter was recognized and used. However, a couple of issues cropped up.
I haven't found any other issues, as I reverted back to 0.5.0. I'll have to find some other way to handle the required brightness.
Let me know if you'd like some samples. I'm happy to help any way I can.
Good luck!