ImwriteFlags Fields |
The ImwriteFlags type exposes the following members.
| Name | Description | |
|---|---|---|
| JpegChromaQuality |
Separate chroma quality level, 0 - 100, default is 0 - don't use.
| |
| JpegLumaQuality |
Separate luma quality level, 0 - 100, default is 0 - don't use.
| |
| JpegOptimize |
Enable JPEG features, 0 or 1, default is False.
| |
| JpegProgressive |
Enable JPEG features, 0 or 1, default is False.
| |
| JpegQuality |
For JPEG, it can be a quality from 0 to 100 (the higher is the better). Default value is 95.
| |
| JpegRstInterval |
JPEG restart interval, 0 - 65535, default is 0 - no restart.
| |
| PngBilevel |
Binary level PNG, 0 or 1, default is 0.
| |
| PngCompression |
For PNG, it can be the compression level from 0 to 9. A higher value means a smaller size and longer compression time. Default value is 3.
| |
| PngStrategy |
One of cv::ImwritePNGFlags, default is IMWRITE_PNG_STRATEGY_DEFAULT.
| |
| PxmBinary |
For PPM, PGM, or PBM, it can be a binary format flag, 0 or 1. Default value is 1.
| |
| value__ | ||
| WebpQuality |
For WEBP, it can be a quality from 1 to 100 (the higher is the better). By default (without any parameter) and for quality above 100 the lossless compression is used.
|