| MatWriteToStream Method |
Writes image data encoded from this Mat to System.IO.Stream
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void WriteToStream(
Stream stream,
string ext = ".png",
params ImageEncodingParam[] prms
)
Public Sub WriteToStream (
stream As Stream,
Optional ext As String = ".png",
ParamArray prms As ImageEncodingParam()
)
public:
void WriteToStream(
Stream^ stream,
String^ ext = L".png",
... array<ImageEncodingParam^>^ prms
)
member WriteToStream :
stream : Stream *
?ext : string *
prms : ImageEncodingParam[]
(* Defaults:
let _ext = defaultArg ext ".png"
*)
-> unit
Parameters
- stream
- Type: System.IOStream
[Missing <param name="stream"/> documentation for "M:OpenCvSharp.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
- ext (Optional)
- Type: SystemString
[Missing <param name="ext"/> documentation for "M:OpenCvSharp.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
- prms
- Type: OpenCvSharpImageEncodingParam
[Missing <param name="prms"/> documentation for "M:OpenCvSharp.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
Return Value
Type:
See Also