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. 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

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int cvSaveImage(
	string filename,
	IntPtr image
)
Public Shared Function cvSaveImage ( _
	filename As String, _
	image As IntPtr _
) As Integer
public:
static int cvSaveImage(
	String^ filename, 
	IntPtr image
)

Parameters

filename
String
The name of the file to be saved to
image
IntPtr
The image to be saved

Return Value

[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvSaveImage(System.String,System.IntPtr)"]

See Also