Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Wincodec.h

IDL

Wincodec.idl

See also

IWICPlanarBitmapSourceTransform::DoesSupportTransform
IWICPlanarBitmapSourceTransform::CopyPixels

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.