XML technologies / SVG / Filters, transformations and gradients / Using and combining filters and lighting effectively / Filters and masks
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
This section explains individual filters in more detail. SVG supports so many that a full treatment needs considerable space. Their parameters will therefore be explained and illustrated with examples. Most filters have several attributes whose value combinations produce very different results, so experimenting with combinations is often useful. SVG currently supports these filter elements:
<feBlend>blends two objects together.<feColorMatrix>changes colors through a matrix operation, applying the matrix’s color adjustments to every pixel.<feComponentTransfer>manipulates individual color components.<feComposite>combines two filter results.<feConvolveMatrix>combines neighboring pixels by calculation. Attributes determine the matrix size.<feDisplacementMap>displaces pixels of a second input image into the first.<feFlood>creates a rectangular color fill from attribute values.<feGaussianBlur>creates a shadow or soft-edged copy of the image.<feImage>incorporates an external SVG element or external SVG graphic into the filter.<feMerge>combines several filter results.<feMorphology>makes a graphic thicker or thinner.<feOffset>moves the image specified withinto the position defined by attributes.<feTile>tiles the object in a rectangular area.<feTurbulence>generates fractal graphics or random patterns.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top