Click or drag to resize

Cv2ImDecode Method (Byte, ImreadModes)

Reads image from the specified buffer in memory.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static Mat ImDecode(
	byte[] buf,
	ImreadModes flags
)

Parameters

buf
Type: SystemByte
The input array of vector of bytes.
flags
Type: OpenCvSharpImreadModes
The same flags as in imread

Return Value

Type: Mat
See Also