Friday, October 19, 2012

XAML to Image/PDF converter with the open source "Xaml Image Converter" (with help from ImageMagick)

Visual Studio Gallery - Xaml Image Converter

Renders images or pdf's from Xaml, SVG & Photoshop files. Features: - Input Formats: Xaml, SVG & PSD (Photoshop) - Output Formats: png, gif, jgp, bmp, tif, xps, pdf - Images with localized text.

Features:

  • Integration into the Build Process. You can convert Images before or after Compilation.
  • A HttpHandler that converts XAML & PSD to images on the fly in a ASP.NET or MVC project.
  • Supported target image formats: gif (also animated), jpg, png, bmp, xsp, pdf, xaml
  • Supported source image formats: xaml, svg, psd
  • XAML Batch files describing conversion jobs.
  • Creation of GIF & CSS filmstrips from Storyboards.
  • Localization support for mutliple cultures.
  • Dynamic changing of the Xaml from the batch file. Set dpi resolution.

..."

CodePlex - XamlImageConverter

Features
  • VisualStudio Item Templates for batch conversion files. 
  • An MSBuild task that can be imported in any project to convert XAML to images in a project when building the project. 
  • A HttpHandler that converts XAML & PSD to images on the fly in a ASP.NET or MVC project. 
  • Supported target image formats: gif (also animated), jpg, png, bmp, xsp, pdf, xaml
  • Supported source image formats: xaml, svg, psd
  • XAML Batch files describing conversion jobs.
  • Localization support for mutliple cultures.
  • Dynamic changing of the Xaml from the batch file.
  • Set dpi resolution.

..."

XamlImageConverter - Xaml Image Converter Manual

"Installation

Run the XamlImageconverter.vsix to install the xaml image converter. All files will be installed in the extensions path of your VisualStudio Installation, i.e. C:\Users\"Username"\AppData\Local\Microsoft\VisualStudio\11.0\Extensions

If you want to install the sourcecode, install TortoiseHG and clone the repository you find on http://xamlimageconverter.codeplex.com/SourceControl/list/changesets or just download the source from the same link.

Image Converter Batch files

Normally you tell the converter what to do through a xaml batch file with the extension xic.xaml.

..."

I thought this free and open source project something I might be able to use in the future, I liked that they took the time to put together some doc's and finally it uses ImageMagick which I've not blogged about in a long time...

1 comment:

David Egli said...

The new version also allows to generate html image maps from shapes of named xaml or svg elements. So let's say you need an USA map, just browse the internet for an svg of the USA and create an image and a corresponding html map within minutes.