NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageService Class / NativeDecodeImageData Method
Encoded image data.
The format of the data in the byte array. Cannot be null.
In This Topic
    NativeDecodeImageData Method
    In This Topic
    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.
    Syntax
    protected abstract NRaster NativeDecodeImageData( 
       System.byte[] imageBytes,
       NImageFormat imageFormat
    )

    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.
    Requirements

    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)

    See Also