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
Members
Member name | Value | Description | |
---|---|---|---|
JpegQuality | 1 | 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] | |
PngCompression | 16 | 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] | |
PxmBinary | 32 | 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