Search code examples
asp.net-mvcimagexamlxamlreader

Transform image using XAML and generate new image


I have a ASP.NET MVC website.

I have a "flat" PNG image in my project that I need to transform. I think that I can use XAML for it.

Steps :

  • Create a XAML UserControl (or other) that transform the image adding a 3d effect for example
  • Use a XamlReader in my website controller, passing my flat image in parameter
  • Generate the new image file with my 3d effect

Is it possible to do what I need ?

Are the steps correct ?

I didn't find a good tutorial to do it, so ifyou have one, thanks in advance.


Solution

  • How about the javascript aproach?

    for example http://www.greensock.com/tweenmax/

    and http://www.greensock.com/css3/