This filter is used to erode or dilate the input image. It's usefulness lies especially in fattening or thinning effects.

Usage context

CategoriesFilter primitive element
Permitted contentAny number of the following elements, in any order:

<animate>, <set>



Global attributes

Specific attributes

DOM Interface

This element implements the SVGFEMorphologyElement interface.


Specification Status Comment
Filter Effects Module Level 1
The definition of '<feMorphology>' in that specification.
Working Draft  
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of '<feMorphology>' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

See also

Document Tags and Contributors

 Contributors to this page: Sebastianz, kscarfone, Jeremie, Manuel_Strehl
 Last updated by: Sebastianz,