Using Vector (SVG) Graphics in C# .NET


Scalable vector graphics(SVG), has been widely popular currently in terms of rendering web graphics. When compared with Raster images, Vector images (SVG image types) have the following advantages.

  • As the name implies Vector SVG graphics are scaleable and do not pixelate at higher zoom levels.
  • Vector image scaled

    Vector image scaled

    Raster image pixelated after resizing

    Raster image pixelated after resizing

  • Vector graphics are formed using basic shapes, mathematical paths and lines. Because of this it is easier to understand sub parts that make up the vector image.
  • SVG files are XML files therefore customizing them and making changes is easier than manipulating binary raster images.

Continue reading