Click or drag to resize

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

Parameters

buf
Type: OpenCvSharpInputArray
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.InputArray,OpenCvSharp.ImreadModes)"]

See Also