Create JPEGs Automatically With SVG
By Benoit Marchal2003-12-22
Variations On The Theme
Variations on the theme
The main benefit of using SVG and the Batik toolkit to produce images through XML is that every XML tool, including scripts and stylesheets, is now suitable to produce Web graphics.
I illustrated the technique with a bar chart, but the same technique applies for other images such as navigation buttons, technical drawings, and UML models. Note that you do not have to generate the entire image in your script. To import logos and other graphics created with an image editor, such as Adobe Illustrator, follow these steps:
<use xlink:href="logo.svg"/>
With the Batik rasterizer and the flexibility of XML, you will find no shortage of applications for SVG.
Tutorial Pages:
» Use Scalable Vector Graphics To Create Images By The Dozen
» A Pragmatic Application
» Variations On The Theme
» Resources
First published by IBM developerWorks
