Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
A <filter>
element can define a region to which a given filter effect applies and can provide a resolution for any intermediate continuous tone images used to process any raster-based filter primitives.
The filterRes
attribute takes the form x-pixels [y-pixels]
, and indicates the width and height of the intermediate images in pixels.
Take care when assigning a non-default value to this attribute. Too small of a value may result in unwanted pixelation in the result. Too large of a value may result in slow processing and large memory usage.
Note that negative values or zero values disable the rendering of the element which referenced the filter.
Categories | None |
---|---|
Value | <number-optional-number> |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
The following elements can use the filterRes
attribute:
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterRes