WICBitmapDitherType 列舉 (wincodec.h)

指定在影像格式之間轉換時要套用的任一演算法類型。

Syntax

typedef enum WICBitmapDitherType {
  WICBitmapDitherTypeNone = 0,
  WICBitmapDitherTypeSolid = 0,
  WICBitmapDitherTypeOrdered4x4 = 0x1,
  WICBitmapDitherTypeOrdered8x8 = 0x2,
  WICBitmapDitherTypeOrdered16x16 = 0x3,
  WICBitmapDitherTypeSpiral4x4 = 0x4,
  WICBitmapDitherTypeSpiral8x8 = 0x5,
  WICBitmapDitherTypeDualSpiral4x4 = 0x6,
  WICBitmapDitherTypeDualSpiral8x8 = 0x7,
  WICBitmapDitherTypeErrorDiffusion = 0x8,
  WICBITMAPDITHERTYPE_FORCE_DWORD = 0x7fffffff
} ;

常數

 
WICBitmapDitherTypeNone
值: 0
純色演算法,不含任一項。
WICBitmapDitherTypeSolid
值: 0
純色演算法,不含任一項。
WICBitmapDitherTypeOrdered4x4
值: 0x1
4x4 已排序的 dither 演算法。
WICBitmapDitherTypeOrdered8x8
值: 0x2
8x8 已排序的 dither 演算法。
WICBitmapDitherTypeOrdered16x16
值: 0x3
已排序的 16x16 演算法。
WICBitmapDitherTypeSpiral4x4
值: 0x4
4x4 的任一演算法。
WICBitmapDitherTypeSpiral8x8
值: 0x5
8x8 的任一演算法。
WICBitmapDitherTypeDualSpiral4x4
值: 0x6
4x4 雙壓二元演算法。
WICBitmapDitherTypeDualSpiral8x8
值: 0x7
8x8 雙壓二元演算法。
WICBitmapDitherTypeErrorDiffusion
值: 0x8
錯誤編譯演算法。
WICBITMAPDITHERTYPE_FORCE_DWORD
值: 0x7fffffff

規格需求

   
最低支援的用戶端 Windows XP 搭配 SP2、Windows Vista [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
標頭 wincodec.h

另請參閱

初始 化