Click or drag to resize
CvInvokeImwrite Method
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.World (in Emgu.CV.World.dll) Version: (
public static bool Imwrite(
	string filename,
	IInputArray image,
	params KeyValuePair<ImwriteFlags, int>[] parameters


Type: SystemString
The name of the file to be saved to
Type: Emgu.CVIInputArray
The image to be saved
Type: System.Collections.GenericKeyValuePairImwriteFlags, Int32
The parameters

Return Value

Type: Boolean
true if success
See Also