What is SVG?

Scalable Vector Graphics, or SVG, is a markup language for representing images (much like HTML is a markup language for representing text). Unlike raster image formats (GIF, PNG, JPEG), which store image data as a collection of pixels which are assigned colors, SVG stores image data by describing the geometric objects which compose the image.

Advantages of SVG over bitmaps:

How to use SVG in VASSAL:

As of version 2.9.9, SVG images may be selected for use in modules like any other image type. In order to include SVG fragments across files, use use elements. For example, the following fragment

<use x="0" y="0" xlink:href="symbols.svg#s" />
will place the element from the file symbols.svg having id "s" at (0,0) in the current file. At present, VASSAL requires that all hrefs be of the form filename#id, with no path given.