ImageTools.Image from System.Windows.Controls.Image

Dec 2, 2010 at 4:46 PM

How can get get the contents of a System.Windows.Controls.Image into an ImageTools.Image?

Coordinator
Dec 3, 2010 at 9:01 AM

The ImageTools.Utils assembly (Namespace: ImageTools) has a extension method ToImage where you can convert any UIElement ot a ImageTools.ExtendedImage (earlier version: ImageTools.Image)

Jan 19, 2012 at 8:33 AM

Hi,

I have kind of the same issue Inadorzi had, except that I need to convert from ImageTools.Image to System,Windows.Controls.Image.

can you please help me with this? 

 

thanks in advance,

Jan 19, 2012 at 2:40 PM

If you reference ImageTools.Utils, there's an ImageExtensions static class that gas a ToImage method that accepts any UIElement.

It returns an ImageTools.ExtendedImage.