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. - image
- Type: OpenCvSharpCvArr
Image to be saved. - prms
- Type: SystemInt32
[Missing <param name="prms"/> documentation for "M:OpenCvSharp.Cv.SaveImage(System.String,OpenCvSharp.CvArr,System.Int32[])"]
Return Value
Type: Int32[Missing <returns> documentation for "M:OpenCvSharp.Cv.SaveImage(System.String,OpenCvSharp.CvArr,System.Int32[])"]
See Also