Cv2ImWrite Method (String, Mat, Int32) OpenCvSharp Class Library
Saves an image to a specified file.

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

public static bool ImWrite(
	string fileName,
	Mat img,
	int[] prms = null
)

Parameters

fileName
Type: SystemString

[Missing <param name="fileName"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ImWrite(System.String,OpenCvSharp.CPlusPlus.Mat,System.Int32[])"]

img
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="img"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ImWrite(System.String,OpenCvSharp.CPlusPlus.Mat,System.Int32[])"]

prms (Optional)
Type: SystemInt32

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

Return Value

Type: Boolean

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

See Also

Reference