SVG to XAML Conversion

After having searched the internet in vain for some credible SVG to XAML converters, I came across Inkscape. Inkscape is a very well known vector graphics tool for Linux. It’s latest version has support for exporting to XAML, so I decided to give it a try.

XAML rendered by Internet Explorer

XAML rendered by Internet Explorer

Drawing using Inkscape

Drawing using Inkscape

One can’t use Inkscape to create XAML for Silverlight applications. The XAML generated by Inkscape is not compatible with Silverlight. It seems to contain version of XAML which Silverlight does not understand. However the exported XAML seemed to get rendered properly in Internet Explorer.  But my joy was short lived. I soon discovered that Inkscape does not handle gradients in a way Microsoft expects.

So, the conclusion is, if you are looking for a ‘free tool’, capable of converting ‘simple SVG graphics’ to XAML, consider Inkscape. To do anything more fancy, we will have to wait till Inkscape improves its XAML export feature.




Copyright (c) 2007-2017 Ashish Patil . Please read FAQ for more details.

comments powered by Disqus