WICPlanarOptions enumeration
Specifies additional options to an IWICPlanarBitmapSourceTransform implementation.
Syntax
typedef enum _WICPlanarOptions { WICPlanarOptionsDefault = 0, // 0x0 WICPlanarOptionsPreserveSubsampling = // 0x } WICPlanarOptions;
Constants
- WICPlanarOptionsDefault
-
No options specified.
WIC JPEG Decoder: The default behavior for iDCT scaling is to preserve quality when downscaling by downscaling only the Y plane in some cases, and the image may change to 4:4:4 chroma subsampling.
- WICPlanarOptionsPreserveSubsampling
-
Asks the source to preserve the size ratio between planes when scaling.
WIC JPEG Decoder: Specifying this option causes the JPEG decoder to scale luma and chroma planes by the same amount, so a 4:2:0 chroma subsampled image outputs 4:2:0 data when downscaling by 2x, 4x, or 8x.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also