SVG <feImage> Filter

What is <feImage> Filter?

The <feImage> SVG filter primitive fetches image data from an external source and provides the pixel data as output.


HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <svg width="210" height="150" xmlns="" xmlns:xlink=""> <defs> <filter id="point"> <feImage xlink:href="car-left.png"/> </filter> </defs> <rect x="1" y="1" width="200" height="200" filter="url(#point)"/> </svg> </body> </html>

Attributes Value

preserveAspectRatioSpecifies how an element with a viewBox providing a given aspect ratio must fit into a viewport with a different aspect ratio.
xlink:hrefSpecifies a reference to a resource.

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author