WICPngBkgdProperties enumeration (wincodec.h)

Specifies the Portable Network Graphics (PNG) background (bKGD) chunk metadata properties.

Syntax

typedef enum WICPngBkgdProperties {
  WICPngBkgdBackgroundColor = 0x1,
  WICPngBkgdProperties_FORCE_DWORD = 0x7fffffff
} ;

Constants

 
WICPngBkgdBackgroundColor
Value: 0x1
Indicates the background color. There are three possible types, depending on the image's pixel format.





#### VT_UI1

Specifies the index of the background color in an image with an indexed pixel format.



#### VT_UI2

Specifies the background color in a grayscale image.



#### VT_VECTOR
VT_UI2

Specifies the background color in an RGB image as three USHORT values: {0xRRRR, 0xGGGG, 0xBBBB}.
WICPngBkgdProperties_FORCE_DWORD
Value: 0x7fffffff

Requirements

Requirement Value
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 wincodec.h