overstimulate

Generating client side vector graphics

Sat, 30 Apr 2005 comments
SVG is a wonderful format for vector graphics. It is XML based, so generating it is much easier than generating GIFs or JPEGs. To generate it clientside:
  1. create a string containing the XML document
  2. encode that string using base64
  3. embed image into page using a data URI
It worked great for my project: "Javascript SVG Sparklines":http://overstimulate.com/projects/svg/

Responses to "Generating client side vector graphics"

Leave a response

My Card Add to your Address Book

Jesse Andrews
open source, web browsers, web services, web sites & folk dancing. contacts/sites

Keep Up To Date

Get updates via RSS or
get email when I blog

Previous Blog Posts