Adobe Illustrator to Avalon/XAML Export Plug-In

Adobe Illustrator to Avalon/XAML Export Plug-In

Rate This
  • Comments 39

In response to my XAML By Hand? post awhile back, I became curious about what it would take to export Avalon-friendly XAML from a tool like Adobe® Illustrator®. So, I downloaded the publicly available Illustrator SDK, and I’ve been spending some spare time in the evenings working on a plug-in.

Well, the plug-in is far enough along at this point to be relatively useful, so I’m releasing it to the public as a free download. The current version works with Adobe Illustrator CS and CS2 running on Windows. Note that this plug-in is not endorsed, warranted, or supported by Microsoft. It was created by me after hours, so use it at your own risk.

For most of the common scenarios, I think you’ll find that the plug-in works very well. However, there are limitations, and you can see some of them illustrated on the Eye Candy page.

Version 0.11 of the plug-in exports XAML that is compatible with Avalon Beta 1 RC, so you should be able to start producing some pretty cool stuff right away. If you do create something that others should see, please let me know, and upload it to the Channel 9 Sandbox.

Speaking of Channel 9, Robert Scoble talked to me about the development of the plug-in, and if you have 25 minutes to spare, you can watch the complete video interview. We talk about raster/vector artwork, how Avalon enables smooth workflow between a graphic designer and an application developer, and I show some demos of the exporter in action.

I’d certainly be very interested in any feedback, comments, or questions you may have.

Enjoy!

Leave a Comment
  • Please add 5 and 5 and type the answer here:
  • Post
  • I've been anxiously waiting for Mike to unveil this, and today he has!  Check it out at http://www.mikeswanson.com/XAMLExport/Eye%20Candy.htm:...
  • Absolutely amazing. I think you should have done a lot of unmanaged code in the past to have made use of the Illustrator's SDK so well. Also I am guessing that their API is probably plain C++ API without the quirks normal COM libraries tend to have. Also would it be possible to use this to design a nice GUI interface in Illustrator and then generate XAML and add Buttons, Menus and EventHandlers to provide the normal UI functionality. If so could you show off a sample like so please?
  • Any chance of posting the converted XAML for your eye-candy page?
  • Kris: Thanks. It's certainly possible to create a beautiful user interface in Illustrator and then "activate" it with some additional code as you describe. I don't have a sample like this, but I wouldn't be surprised if we see one pretty soon. :)

    Rob: Good idea. I'll have to get permission to do this, but I'll certainly check.
  • Wicked!! (As robert said - i think - in the interview).

    Any chance of publicly releasing the source code? There's a good possibility of some avalon/xaml hungry developers jumping in and filling the holes in the exporter. I understand its probably in real early stages, but that's exactly the reason to get more input (plus it'd be cool to see how you did it).

    - Keeron

    PS: A possibility that the Avalon release might contain plugins such as this? Now that would be a killer feature!
  • I have used this plugin the last few weeks, there were a few shapes in my design mockup that I could not figure out how to reproduce with hand coded XAML, this plugin worked great to export those odd shapes out of Illustrator and then style in code. Great job on this, it has been very useful...
  • Jurgen already announced it: the Longhorn beta program is open for nominations. Drop him a mail if you're...
  • Is this a "windows only" plugin, or will it run on the mac version of Illustrator?

  • Michael Swanson created a really cool plugin what exports an Adobe Illustrator drawing to Avalon XAML....
  • S
Page 1 of 3 (39 items) 123