wiCPngBkgdProperties 列舉 (wincodec.h)

指定可攜式網狀圖形 (PNG) 背景 (bKGD) 區塊中繼資料屬性。

Syntax

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

常數

 
WICPngBkgdBackgroundColor
值: 0x1
表示背景色彩。 視影像的像素格式而定,有三種可能的類型。





#### VT_UI1

以索引像素格式指定影像中背景色彩的索引。



#### VT_UI2

指定灰階影像中的背景色彩。



#### VT_VECTOR
VT_UI2

將 RGB 影像中的背景色彩指定為三個 USHORT 值:{0xRRRR、0xGGGG、0xBBBB}。
WICPngBkgdProperties_FORCE_DWORD
值: 0x7fffffff

規格需求

   
最低支援的用戶端 適用于 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
標頭 wincodec.h