Cv2ImWrite Method (String, Mat, ImageEncodingParam) 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,
	params ImageEncodingParam[] prms
)

Parameters

fileName
Type: SystemString

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

img
Type: OpenCvSharp.CPlusPlusMat

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

prms
Type: OpenCvSharpImageEncodingParam

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

Return Value

Type: Boolean

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

See Also

Reference