Converts a WinRT Windows.UI.Xaml.Media.ImageSource object into a LEADTOOLS RasterImage.
image
The Windows.UI.Xaml.Media.ImageSource object containing the image data to convert.
options
Options to control the conversion operation. Currently there are no extra options and the value of this parameter must be set to ConvertFromImageOptions.None
A RasterImage object representing the converted image.
Microsoft WinRT currently offers support for 32-bits/pixels only. So the result from this method will always be a RasterImage object with RasterImage.BitsPerPixel equal to 32.
Use the ConvertToImageSource method to convert a LEADTOOLS RasterImage into a WinRT Windows.UI.Xaml.Media.ImageSource object.
The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between a RasterImage and a Windows.UI.Xaml.Media.ImageSource.
For more information refer to RasterImage and WinRT.