Nevron Open Vision Documentation
Nevron.Nov.Internal Namespace / nprI Class / NativeDecodeImageData Method
Encoded image data.
The format of the data in the byte array - not used, because GDI+ performs its own format recognition.


In This Topic
    NativeDecodeImageData Method (nprI)
    In This Topic
    Decodes the specified image data, using GDI+ image decoders.
    Syntax
    'Declaration
     
    
    Protected Overrides NotOverridable Function NativeDecodeImageData( _
       ByVal OprI() As System.Byte, _
       ByVal pprI As NImageFormat _
    ) As NRaster
    'Usage
     
    
    Dim instance As nprI
    Dim OprI() As System.Byte
    Dim pprI As NImageFormat
    Dim value As NRaster
     
    value = instance.NativeDecodeImageData(OprI, pprI)
    protected override NRaster NativeDecodeImageData( 
       System.byte[] OprI,
       NImageFormat pprI
    )

    Parameters

    OprI
    Encoded image data.
    pprI
    The format of the data in the byte array - not used, because GDI+ performs its own format recognition.

    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