WICJpegYCrCbSubsamplingOption enumeration
Specifies the JPEG YCrCB subsampling options.
Syntax
typedef enum WICJpegYCrCbSubsamplingOption { WICJpegYCrCbSubsamplingDefault = 0x00000000, WICJpegYCrCbSubsampling420 = 0x00000001, WICJpegYCrCbSubsampling422 = 0x00000002, WICJpegYCrCbSubsampling444 = 0x00000003, WICJpegYCrCbSubsampling440 = 0x00000004 } WICJpegYCrCbSubsamplingOption;
Constants
- WICJpegYCrCbSubsamplingDefault
-
The default subsampling option.
- WICJpegYCrCbSubsampling420
-
Subsampling option that uses both horizontal and vertical decimation.
- WICJpegYCrCbSubsampling422
-
Subsampling option that uses horizontal decimation .
- WICJpegYCrCbSubsampling444
-
Subsampling option that uses no decimation.
- WICJpegYCrCbSubsampling440
-
Subsampling option that uses 2x vertical downsampling only. This option is only available in Windows 8.1 and later.
Remarks
The native JPEG encoder uses WICJpegYCrCbSubsampling420.
Requirements
|
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 |
|
|
IDL |
|