NativeDecodeImageData Method
Decodes the specified image data, using the image decoding capabilities of the underlying platform. Must be implemented in the image service of a platform host.
Parameters
- imageBytes
- Encoded image data.
- imageFormat
- The format of the data in the byte array. Cannot be null.
Return Value
Returns a raster that contains the decoded image data. Returns null if the decoding was not successful.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)