Path: blob/main/files/en-us/web/svg/element/feimage/index.md
6567 views
------{{SVGRef}}
The <feImage> SVG filter primitive fetches image data from an external source and provides the pixel data as output (meaning if the external source is an SVG image, it is rasterized.)
Usage context
{{svginfo}}
Attributes
Global attributes
{{SVGAttr("class")}}
{{SVGAttr("style")}}
Specific attributes
{{SVGAttr("preserveAspectRatio")}}
{{SVGAttr("xlink:href")}}
DOM Interface
This element implements the {{domxref("SVGFEImageElement")}} interface.
Example
SVG
Result
{{EmbedLiveSample("Example", 200, 200)}}
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{SVGElement("filter")}}
{{SVGElement("animate")}}
{{SVGElement("animateTransform")}}
{{SVGElement("set")}}
{{SVGElement("feBlend")}}
{{SVGElement("feColorMatrix")}}
{{SVGElement("feComponentTransfer")}}
{{SVGElement("feComposite")}}
{{SVGElement("feConvolveMatrix")}}
{{SVGElement("feDiffuseLighting")}}
{{SVGElement("feDisplacementMap")}}
{{SVGElement("feFlood")}}
{{SVGElement("feGaussianBlur")}}
{{SVGElement("feMerge")}}
{{SVGElement("feMorphology")}}
{{SVGElement("feOffset")}}
{{SVGElement("feSpecularLighting")}}
{{SVGElement("feTile")}}
{{SVGElement("feTurbulence")}}