MatToMemoryStream Method OpenCvSharp Class Library
Converts Mat to System.IO.MemoryStream

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

public MemoryStream ToMemoryStream(
	string ext = ".png",
	params ImageEncodingParam[] prms
)

Parameters

ext (Optional)
Type: SystemString

[Missing <param name="ext"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]

prms
Type: OpenCvSharpImageEncodingParam

[Missing <param name="prms"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]

Return Value

Type: MemoryStream

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]

See Also

Reference