6
votes

I tried InkScape & XPS method, but it doesn't give me correct XAML.

Can anyone please convert this SVG to WinRT compatible XAML ?

3
If you want people to do your work for you, you'll have more luck with the Amazon Mechanical Turk than here. - Geeky Guy
I've tried my ways but I failed that's why I asked. - Farhan Ghumra
Then show us what you've tried. - Geeky Guy
No need to show, you should believe me at least and not downvote. My 4.3K rep on SO is not funny thing. See Tim's thoughts. He believed me and gave me exact solution. - Farhan Ghumra
@Xyroid - it doesn't matter what your rep on SO is, your post is still worded as "do my work for me". With that rep, you should know the etiquette of SO already. And Tim answered properly, by telling you how to do it, and not doing it for you like you asked. - Jesse Chisholm

3 Answers

12
votes

Take a look at this and see if it works: https://gist.github.com/timheuer/6443390

Method (yes, superhack):

  • Use Inkscape to save as PDF
  • Rename the Filename extension from PDF to AI
  • Use Expression Design to open AI document
  • Export to Silverlight Canvas
7
votes

Using Inkscape 0.91 it's possible to open an SVG file and directly save as XAML.

Select Microsoft XAML file as the file type:

enter image description here

1
votes

I'm not able to comment on the related answer, but I found it even easier to just open the SVG in Inkscape, copy and then paste it on Expression Design. Then select Copy to XAML (or Ctrl + Shift + C).