Class CompressionParameters
Specifies the available image compression parameters.
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public static class CompressionParameters : object
Fields
| Improve this Doc View SourceJpegQuality
Specifies the quality of image JPEG compression from 0 to 100 (the higher the better). Default value is 95.
Declaration
public const int JpegQuality = null
Field Value
Type | Description |
---|---|
Int32 |
PngBiLevel
Specifies whether PNG compression should use bi-level (binary) images.
Declaration
public const int PngBiLevel = null
Field Value
Type | Description |
---|---|
Int32 |
PngCompression
Specifies the PNG compression level from 0 to 9. A higher value means a smaller size and longer compression time. Default value is 3.
Declaration
public const int PngCompression = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategy
Specifies the PNG compression strategy.
Declaration
public const int PngStrategy = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategyDefault
Specifies a default PNG compression strategy.
Declaration
public const int PngStrategyDefault = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategyFiltered
Specifies a filtered PNG compression strategy.
Declaration
public const int PngStrategyFiltered = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategyFixed
Specifies a fixed PNG compression strategy.
Declaration
public const int PngStrategyFixed = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategyHuffmanOnly
Specifies a huffman code based PNG compression strategy.
Declaration
public const int PngStrategyHuffmanOnly = null
Field Value
Type | Description |
---|---|
Int32 |
PngStrategyRle
Specifies a run-length encoding PNG compression strategy.
Declaration
public const int PngStrategyRle = null
Field Value
Type | Description |
---|---|
Int32 |
PxmBinary
Specifies a binary format flag for PPM, PGM or PBM. Default value is 1.
Declaration
public const int PxmBinary = null
Field Value
Type | Description |
---|---|
Int32 |