Converts a LEADTOOLS RasterImage to and from a WinRT image object.
The LEADTOOLS RasterImage class provides a platform-independent representation of an image. It serves as a working area for image manipulation and conversion. LEADTOOLS functions use this class for accessing the image in memory and for maintaining the characteristics of the image. This class contains the functionality needed to convert a LEADTOOLS RasterImage to and from a WinRT image object.
The RasterImageConverter class contains the following functionality:
Method | Description |
---|---|
convertToImageSource |
Converts a LEADTOOLS RasterImage to a WinRT Windows.UI.Xaml.Media.ImageSource. |
convertFromImageSource |
Converts a WinRT Windows.UI.Xaml.Media.ImageSource to a LEADTOOLS RasterImage. |
testCompatible |
Utility methods for testing whether a LEADTOOLS RasterImage is WinRT compatible. |
For more information refer to RasterImage and WinRT.