Ask a questionAsk a question
 

AnswerSVG to XAML converters? EMF to XAML converters?

Answers

  • Thursday, February 15, 2007 6:06 PMMichael Swanson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    I'm not aware of anything command-line driven that will convert from SVG to WPF RTM-compliant XAML. However, you can open SVG files in Adobe Illustrator (which has a 30-day trial) and export them using my Illustrator export-plug in. I've had others use this method with great success. Also, MOBIFORM's Aurora product used to have strong SVG support. I haven't tried their latest version, but that's also worth investigating.

     In addition to Rob's suggestion, there are a few more conversion tools here that I haven't added to my all-up page yet: http://blogs.msdn.com/mswanson/archive/2006/11/28/more-wpf-conversion-tools-including-vb6-to-xaml.aspx

     Hope this helps!

All Replies

  • Thursday, February 15, 2007 12:49 PMRob RelyeaModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I usually look at this page by Mike Swanson for known XAML converters: http://blogs.msdn.com/mswanson/articles/WPFToolsAndControls.aspx

    I'll point Mike to this post, in case he can help additionally.

    Thanks, Rob Relyea
    Program Manager, WPF Team
    http://rrelyea.spaces.live.com

  • Thursday, February 15, 2007 3:24 PMfarkbert Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I needed to convert a logo from SVG to XAML a while back and couldn't find anything to do it.  I would up making a really crude utility that converts an SVG path into a XAML path (since that was the only function I truly needed).  It doesn't work in all cases and it is really crudely implemented, but if you are interested I can make the source available (actually, I'll have to see if I can still find it first...)



  • Thursday, February 15, 2007 6:06 PMMichael Swanson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    I'm not aware of anything command-line driven that will convert from SVG to WPF RTM-compliant XAML. However, you can open SVG files in Adobe Illustrator (which has a 30-day trial) and export them using my Illustrator export-plug in. I've had others use this method with great success. Also, MOBIFORM's Aurora product used to have strong SVG support. I haven't tried their latest version, but that's also worth investigating.

     In addition to Rob's suggestion, there are a few more conversion tools here that I haven't added to my all-up page yet: http://blogs.msdn.com/mswanson/archive/2006/11/28/more-wpf-conversion-tools-including-vb6-to-xaml.aspx

     Hope this helps!

  • Friday, April 27, 2007 11:00 AMAndrej Benedik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have written a class library that can read svg file and open its elements in wpf application.

     

    Currently the library can be used only in code and not in xaml but this should not be a big draw-back.

    I am also writing a svg to xaml exporter and than I am planning to create a ReaderSvg user control that can be used only in xaml. 

     

    Read more on www.wpf-graphics.com/ReaderSvg.aspx.

  • Friday, April 27, 2007 4:06 PMsbussinger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Outstanding -- I'll be grabbing a copy right away to play with this!

     

    Thanks for your efforts on this.

     

    One question though. Your website doesn't talk about any limitations to the SVG reader. Can you convert everything in an SVG file directly to XAML or are there limitations or ideosyncracies we should be aware of?

     

  • Tuesday, October 07, 2008 5:43 AMVineeth Paliath Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hello

    is it any way to convert xaml to svg

    that is i want to export canvas as svg...

    plz help

    Vineeth