Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the JPEG YCrCB subsampling options.
Syntax
typedef enum WICJpegYCrCbSubsamplingOption {
WICJpegYCrCbSubsamplingDefault = 0,
WICJpegYCrCbSubsampling420 = 0x1,
WICJpegYCrCbSubsampling422 = 0x2,
WICJpegYCrCbSubsampling444 = 0x3,
WICJpegYCrCbSubsampling440 = 0x4,
WICJPEGYCRCBSUBSAMPLING_FORCE_DWORD = 0x7fffffff
} ;
Constants
WICJpegYCrCbSubsamplingDefaultValue: 0 The default subsampling option. |
WICJpegYCrCbSubsampling420Value: 0x1 Subsampling option that uses both horizontal and vertical decimation. |
WICJpegYCrCbSubsampling422Value: 0x2 Subsampling option that uses horizontal decimation . |
WICJpegYCrCbSubsampling444Value: 0x3 Subsampling option that uses no decimation. |
WICJpegYCrCbSubsampling440Value: 0x4 Subsampling option that uses 2x vertical downsampling only. This option is only available in Windows 8.1 and later. |
WICJPEGYCRCBSUBSAMPLING_FORCE_DWORDValue: 0x7fffffff |
Remarks
The native JPEG encoder uses WICJpegYCrCbSubsampling420.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only] |
| Header | wincodec.h |