Skip to Content
SVG Essentials, 2nd Edition
book

SVG Essentials, 2nd Edition

by J. David Eisenberg, Amelia Bellamy-Royds
October 2014
Beginner
366 pages
8h 29m
English
O'Reilly Media, Inc.
Content preview from SVG Essentials, 2nd Edition

Chapter 11. Filters

The preceding chapters have given you a basis for creating graphics that convey information with great precision and detail. If you’re going on a spring picnic, you want a precise map. When you look in the newspaper for the graphics that describe the weather forecast, you want “just the facts.”

If you’re asked later to describe the day of the picnic, nobody wants a crisp recitation of meteorological statistics. Similarly, nobody wants to see a graphic of a spring flower composed of pure vectors; Figure 11-1 fails totally to convey any warmth or charm.

Flower composed of plain vectors

Figure 11-1. Flower composed of plain vectors

Graphics are often designed to evoke feelings or moods as much as they are meant to convey information. Artists who work with bitmap graphics—and therefore work with the appearance of an object instead of its geometrical definition—have many tools at their disposal to add such effects. They can produce blurred shadows, selectively thicken or thin lines, add textures to part of the drawing, or make an object appear to be embossed or beveled.

How Filters Work

Although SVG is not a bitmap description language, it still lets you use some of these same tools. When an SVG viewer program processes a graphic object, it will render the object to some bitmapped output device; at some point, the program will convert the object’s description into the appropriate set of pixels that appear ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SVG Animations

SVG Animations

Sarah Drasner
SVG Text Layout

SVG Text Layout

Amelia Bellamy-Royds, Kurt Cagle
Mastering SVG

Mastering SVG

Rob Larsen

Publisher Resources

ISBN: 9781491945308Errata Page