Writes image data encoded from this Mat to System.IO.Stream
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void WriteToStream( Stream stream, string ext = ".png", params ImageEncodingParam[] prms )
Parameters
- stream
- Type: System.IOStream
[Missing <param name="stream"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
- ext (Optional)
- Type: SystemString
[Missing <param name="ext"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
- prms
- Type: OpenCvSharpImageEncodingParam
[Missing <param name="prms"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.WriteToStream(System.IO.Stream,System.String,OpenCvSharp.ImageEncodingParam[])"]
Return Value
Type:See Also