Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageFormat Class / SafeGetImageInfo Method
A byte array containing the encoded image data.


In This Topic
    SafeGetImageInfo Method
    In This Topic
    Obtains image information (size, resolution, pixel format) from the specified encoded image data.
    Syntax
    'Declaration
     
    
    Public Function SafeGetImageInfo( _
       ByVal imageData() As System.Byte _
    ) As NImageInfo
    'Usage
     
    
    Dim instance As NImageFormat
    Dim imageData() As System.Byte
    Dim value As NImageInfo
     
    value = instance.SafeGetImageInfo(imageData)
    public NImageInfo SafeGetImageInfo( 
       System.byte[] imageData
    )

    Parameters

    imageData
    A byte array containing the encoded image data.

    Return Value

    Returns an object containing information about the image. Returns null if the image info cannot be obtained.
    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