Tiffany B. Brown

A web log about web development and internet culture with frequent detours into other stuff.
More on the powers of CSS
How to stop (most) search engine crawlers

Fun with Scalable Vector Graphics

Scalable Vector Graphics has been hailed as The Next Big Thing in web graphics (sort of like PNG).

What is it? It’s a way to create graphics using XML syntax. That’s right: SVG allows you to create images out of text.

Advantages? First: smaller file sizes. Since the images are text-based rather than binary code, they’re smaller than bitmap-based images (GIF, JPEG, PNG).

Secondly, SVG has accessibility support built-in.

Thirdly, because these graphics are text, they’re also potentially searchable. In fact, the W3C offers a transformation tool to extract the text from an SVG image that could be used to create an SVG search engine.

Fourth: Again, because it is text, SVG files can be manipulated by DOM, CSS and JavaScript.

Furthermore, because they’re ?¢‚Ǩ‚Äù as the name says ?¢‚Ǩ‚Äù scalable and vector-based, you can resize them and retain image quality. Think of what that means: the same image could be used for computer screens, PDAs and printed materials.

What’s the problem? Well, unfortunately, Mozilla is the only browser providing native support for SVG. Even then, you have to download and install a special SVG-enabled version. Other browsers require a plug-in.

Still, SVG is pretty cool to use. Here’s how to get started.

  1. Download and install Adobe’s or Corel’s SVG viewer.
  2. Read up on the SVG specification from the W3C. Also check out the W3C SVG overview page.
  3. Fire up your text editor. Notepad (Windows) or SimpleText (Mac) will do the job. Or download HTML-Kit (Windows only; highly recommended).

Not a big fan of learning new markup languages? Don’t sweat: Adobe Illustrator 10, CorelDRAW 11 and Jasc’s WebDraw will let you create SVG files.

For more on SVG

Need even more resources? Search for SVG resources with Vivísmo.


UPDATE: Now you can create SVG files without knowing the language, and without having to shell out big bucks for a graphics program. You can use the free, open-source (though a smidge buggy) program Inkscape.

Share this entry:
  • TwitThis
  • Digg
  • Technorati
  • del.icio.us
  • Ma.gnolia
  • Mixx
  • NewsVine
  • Reddit
  • StumbleUpon
  • TailRank
  • Furl
  • Slashdot
  • Global Grind
  • YahooMyWeb
  • Facebook
  • Google
  • Live
  • LinkedIn
  • MySpace
Comments are closed.
previous post: More on the powers of CSS
next post: How to stop (most) search engine crawlers