| MatToMemoryStream Method |
Converts Mat to System.IO.MemoryStream
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public MemoryStream ToMemoryStream(
string ext = ".png",
params ImageEncodingParam[] prms
)
Public Function ToMemoryStream (
Optional ext As String = ".png",
ParamArray prms As ImageEncodingParam()
) As MemoryStream
public:
MemoryStream^ ToMemoryStream(
String^ ext = L".png",
... array<ImageEncodingParam^>^ prms
)
member ToMemoryStream :
?ext : string *
prms : ImageEncodingParam[]
(* Defaults:
let _ext = defaultArg ext ".png"
*)
-> MemoryStream
Parameters
- ext (Optional)
- Type: SystemString
[Missing <param name="ext"/> documentation for "M:OpenCvSharp.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]
- prms
- Type: OpenCvSharpImageEncodingParam
[Missing <param name="prms"/> documentation for "M:OpenCvSharp.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]
Return Value
Type:
MemoryStream[Missing <returns> documentation for "M:OpenCvSharp.Mat.ToMemoryStream(System.String,OpenCvSharp.ImageEncodingParam[])"]
See Also