.NET Zone is brought to you in partnership with:

I’ve been a Windows developer since 3.0 and caught the Visual Basic wave early with v1. I’ve released a “production” application in every version of VB since then (except VB for DOS). Focusing on enterprise, line-of-business development I’ve built Call Center Applications, Mortgage finance systems, Customer Relationship Management tools and more recently I’ve been in the Litigation Support/Electronic Data Discovery/Electronically Stored Information space. Greg is a DZone MVB and is not an employee of DZone and has posted 476 posts at DZone. You can read more from them at their website. View Full User Profile

XAML to Image/PDF converter - What Is It And How To Leverage It

10.24.2012
| 3565 views |
  • submit to reddit

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 onhttp://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...

Published at DZone with permission of Greg Duncan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)