Saves the image to the specified file. The image format is chosen depending on the filename extension, see cvLoadImage.
Only 8-bit single-channel or 3-channel (with 'BGR' channel order) images can be saved using this function.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type: SystemString
Name of the file. - prms
- Type: OpenCvSharpImageEncodingParam
[Missing <param name="prms"/> documentation for "M:OpenCvSharp.CvArr.SaveImage(System.String,OpenCvSharp.ImageEncodingParam[])"]
Return Value
Type: Int32[Missing <returns> documentation for "M:OpenCvSharp.CvArr.SaveImage(System.String,OpenCvSharp.ImageEncodingParam[])"]
See Also