The Leadtools.Windows.Media.RasterImageConverter class provides methods to convert a Leadtools.RasterImage object to and from an System.Windows.Media.ImageSource.
The RasterImageConverter.ConvertFrom method will convert a Leadtools.RasterImage object to a WPF System.Windows.Media.ImageSource. The flags in the Leadtools.Windows.Media.ConvertFromSourceOptions enumeration can be used to control the conversion operation.
The RasterImageConverter.ConvertTo method will convert a WPF System.Windows.Media.ImageSource object to a Leadtools.RasterImage. The flags in the Leadtools.Windows.Media.ConvertToSourceOptions enumeration can be used to control the conversion operation. The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between a Leadtools.RasterImage and an System.Windows.Media.ImageSource.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document