Click or drag to resize

CvInvokeImencode Method

http://www.emgu.com
encode image and store the result as a byte vector.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Imencode(
	string ext,
	IInputArray image,
	VectorOfByte buf,
	params KeyValuePair<ImwriteFlags, int>[] parameters
)

Parameters

ext
Type: SystemString
The image format
image
Type: Emgu.CVIInputArray
The image
buf
Type: Emgu.CV.UtilVectorOfByte
Output buffer resized to fit the compressed image.
parameters
Type: System.Collections.GenericKeyValuePairImwriteFlags, Int32
The pointer to the array of integers, which contains the parameter for encoding, use IntPtr.Zero for default
See Also