Click or drag to resize

Cv2ImDecode Method (Mat, 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(
	Mat buf,
	ImreadModes flags
)

Parameters

buf
Type: OpenCvSharpMat
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(OpenCvSharp.Mat,OpenCvSharp.ImreadModes)"]

See Also