-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[svg-native] Limited support for filters? #675
Comments
Not all graphics libraries provide support for blueing or shadows. Plus: it may require image buffers on rendering again and could be misused easily if no strict restrictions apply (no min/max blur radius). But even those restrictions can get bypassed with a huge amount of scaling. IMO the risk is higher than the benefit. |
Maybe SVG Native could support the Filters should degrade gracefully when user agent does not support them since they are usually adding minor details or just fine-tuning the graphics. However, from my experience they can easily lock the entire renderer process when misused (even on Chrome / Electron). |
I agree that, if the decision is made to support limited filters, the best way to do that would be through the shorthand functions. The But, we'd really need a list of target rendering libraries & which ones we would be excluding by adding blur, etc. |
Yes, if supported at all it should just be a set of filter functions. As said, before, filters require an implicitly or explicitly created off-screen buffer to perform.
|
Some authoring tools have facilities for shadows or blurs. We should see if we should support those specific use cases without bringing in all the complexity of arbitrary graphs of filters.
The text was updated successfully, but these errors were encountered: