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


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

    Parameters

    imageData
    A byte array containing the encoded image data.

    Return Value

    Returns an object containing information about the image.
    Remarks
    The method throws an exception if the image info cannot be obtained.
    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also