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: 1.0.0
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

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ImDecode(System.Byte[],OpenCvSharp.ImreadModes)"]

See Also