Click or drag to resize
Ab4d.SharpEngine logo

WpfBitmapIO Methods

The WpfBitmapIO type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateRawImageData CreateRawImageData method takes the WPF's BitmapSource and returns a RawImageData.
Public methodStatic memberCreateWpfBitmap CreateWpfBitmap method takes the RawImageData and returns the WPF BitmapSource.
Public methodIsFileFormatExportSupported Returns true when exporting a bitmap to the specified file format that is defined by the fileExtension is supported.
Public methodIsFileFormatImportSupported Returns true when importing a bitmap from the specified file format that is defined by the fileExtension is supported.
Public methodIsStreamSupported Returns true when methods that take Stream as parameter are supported. When false, then only methods that take fileName are supported.
Public methodLoadBitmap(String) Load bitmap into the GpuImageData struct
Public methodLoadBitmap(Stream, String) Load bitmap into the GpuImageData struct
Public methodLoadBitmapImage LoadBitmapImage methods loads the file with the specified file name and returns a WPF BitmapImage.
Public methodSaveBitmap(RawImageData, String) Save bitmap from the GpuImageData to the specified file.
Public methodSaveBitmap(RawImageData, Stream, String) Save bitmap from the GpuImageData to the specified fileStream.
Top
See Also