Cv2ImDecode Method (Mat, LoadMode) OpenCvSharp Class Library
Reads image from the specified buffer in memory.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Mat ImDecode(
	Mat buf,
	LoadMode flags
)

Parameters

buf
Type: OpenCvSharp.CPlusPlusMat
The input array of vector of bytes.
flags
Type: OpenCvSharpLoadMode
The same flags as in imread

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ImDecode(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.LoadMode)"]

See Also

Reference