CvArrToBytes Method OpenCvSharp Class Library
Extract this image to the memory using cvEncodeImage

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

public byte[] ToBytes(
	string ext,
	params ImageEncodingParam[] encodingParams
)

Parameters

ext
Type: SystemString
Image extension to decide encoding format.
encodingParams
Type: OpenCvSharpImageEncodingParam
Encoding options.

Return Value

Type: Byte

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

See Also

Reference