Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WICPlanarOptions enumeration (wincodec.h)

Specifies additional options to an IWICPlanarBitmapSourceTransform implementation.

Syntax

typedef enum WICPlanarOptions {
 WICPlanarOptionsDefault = 0,
 WICPlanarOptionsPreserveSubsampling = 0x1,
 WICPLANAROPTIONS_FORCE_DWORD = 0x7fffffff
} ;

Constants

 
WICPlanarOptionsDefault
Value: 0
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
Value: 0x1
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.
WICPLANAROPTIONS_FORCE_DWORD
Value: 0x7fffffff

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Header wincodec.h

See also

IWICPlanarBitmapSourceTransform::CopyPixels

IWICPlanarBitmapSourceTransform::DoesSupportTransform


Feedback

Was this page helpful?

Additional resources