Click or drag to resize

MatWriteToStream Method

Writes image data encoded from this Mat to System.IO.Stream

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public void WriteToStream(
	Stream stream,
	string ext = ".png",
	params ImageEncodingParam[] prms
)

Parameters

stream
Type: System.IOStream
ext (Optional)
Type: SystemString
prms
Type: OpenCvSharpImageEncodingParam

Return Value

Type: 
See Also