ImageEncodingID Enumeration OpenCvSharp Class Library
The format type IDs for cv::imwrite and cv::inencode

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

public enum ImageEncodingID
Members

  Member nameValueDescription
JpegQuality1 In the case of JPEG it can be a quality, from 0 to 100 (the higher is the better), 95 by default. [CV_IMWRITE_JPEG_QUALITY]
PngCompression16 In the case of PNG it can be the compression level, from 0 to 9 (the higher value means smaller size and longer compression time), 3 by default. [CV_IMWRITE_PNG_COMPRESSION]
PxmBinary32 In the case of PPM, PGM or PBM it can a binary format flag, 0 or 1, 1 by default. [CV_IMWRITE_PXM_BINARY]
See Also

Reference