http://www.emgu.com
Save this image to the specific file.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public override void Save(
	string fileName
)
Visual Basic
Public Overrides Sub Save ( _
	fileName As String _
)
Visual C++
public:
virtual void Save(
	String^ fileName
) override

Parameters

fileName
Type: System..::..String
The name of the file to be saved to

Implements

IImage..::..Save(String)

Remarks

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. If the format, depth or channel order is different, use cvCvtScale and cvCvtColor to convert it before saving, or use universal cvSave to save the image to XML or YAML format.

See Also