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

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

Syntax

C#
public static IntPtr cvEncodeImage(
	string ext,
	IntPtr image,
	IntPtr parameters
)
Visual Basic
Public Shared Function cvEncodeImage ( 
	ext As String,
	image As IntPtr,
	parameters As IntPtr
) As IntPtr
Visual C++
public:
static IntPtr cvEncodeImage(
	String^ ext, 
	IntPtr image, 
	IntPtr parameters
)
F#
static member cvEncodeImage : 
        ext : string * 
        image : IntPtr * 
        parameters : IntPtr -> IntPtr 

Parameters

ext
Type: System..::..String
The image format
image
Type: System..::..IntPtr
The image
parameters
Type: System..::..IntPtr
The pointer to the array of intergers, which contains the parameter for encoding, use IntPtr.Zero for default

Return Value

Type: IntPtr
A pointer to single-row 8uC1 CvMat that represent the encoded image.

See Also