WICBitmapAlphaChannelOption enumeration (wincodec.h)

Specifies the desired alpha channel usage.

Syntax

typedef enum WICBitmapAlphaChannelOption {
  WICBitmapUseAlpha = 0,
  WICBitmapUsePremultipliedAlpha = 0x1,
  WICBitmapIgnoreAlpha = 0x2,
  WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD = 0x7fffffff
} ;

Constants

 
WICBitmapUseAlpha
Value: 0
Use alpha channel.
WICBitmapUsePremultipliedAlpha
Value: 0x1
Use a pre-multiplied alpha channel.
WICBitmapIgnoreAlpha
Value: 0x2
Ignore alpha channel.
WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD
Value: 0x7fffffff
Sentinel value.

Requirements

   
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header wincodec.h