CvEncodeImage Method (String, CvArr, ImageEncodingParam) OpenCvSharp Class Library
Encode image and store the result as a byte vector (single-row 8uC1 matrix)

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvMat EncodeImage(
	string ext,
	CvArr image,
	params ImageEncodingParam[] prms
)

Parameters

ext
Type: SystemString
The file extension that defines the output format
image
Type: OpenCvSharpCvArr
The image to be written
prms
Type: OpenCvSharpImageEncodingParam
The format-specific parameters

Return Value

Type: CvMat

[Missing <returns> documentation for "M:OpenCvSharp.Cv.EncodeImage(System.String,OpenCvSharp.CvArr,OpenCvSharp.ImageEncodingParam[])"]

See Also

Reference