http://www.emgu.com
Decode image stored in the buffer

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvDecodeImage(
	byte[] bufMat,
	LOAD_IMAGE_TYPE loadType
)
Visual Basic
Public Shared Function cvDecodeImage ( 
	bufMat As Byte(),
	loadType As LOAD_IMAGE_TYPE
) As IntPtr
Visual C++
public:
static IntPtr cvDecodeImage(
	array<unsigned char>^ bufMat, 
	LOAD_IMAGE_TYPE loadType
)
F#
static member cvDecodeImage : 
        bufMat : byte[] * 
        loadType : LOAD_IMAGE_TYPE -> IntPtr 

Parameters

bufMat
Type: array<System..::..Byte>[]()[][]
The buffer
loadType
Type: Emgu.CV.CvEnum..::..LOAD_IMAGE_TYPE
The image loading type

Return Value

Type: IntPtr
A pointer to the Image decoded.

See Also