Get to know MDN better
The edgeMode attribute determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
You can use this attribute with the following SVG elements:
For <feConvolveMatrix>, edgeMode determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
| duplicate | wrap | none |
| duplicate |
| Yes |
This value indicates that the input image is extended along each of its borders as necessary by duplicating the color values at the given edge of the input image.
wrapThis value indicates that the input image is extended by taking the color values from the opposite edge of the image.
noneThis value indicates that the input image is extended with pixel values of zero for R, G, B and A.
For <feGaussianBlur>, edgeMode determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
| duplicate | wrap | none |
| none |
| Yes |
This value indicates that the input image is extended along each of its borders as necessary by duplicating the color values at the given edge of the input image.
wrapThis value indicates that the input image is extended by taking the color values from the opposite edge of the image.
noneThis value indicates that the input image is extended with pixel values of zero for R, G, B and A.
| Filter Effects Module Level 1 # element-attrdef-feconvolvematrix-edgemode |
This page was last modified on Mar 17, 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.