WICBitmapDitherType enumeration (wincodec.h)
Specifies the type of dither algorithm to apply when converting between image formats.
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
} ;
Constants
WICBitmapDitherTypeNone Value: 0 A solid color algorithm without dither. |
WICBitmapDitherTypeSolid Value: 0 A solid color algorithm without dither. |
WICBitmapDitherTypeOrdered4x4 Value: 0x1 A 4x4 ordered dither algorithm. |
WICBitmapDitherTypeOrdered8x8 Value: 0x2 An 8x8 ordered dither algorithm. |
WICBitmapDitherTypeOrdered16x16 Value: 0x3 A 16x16 ordered dither algorithm. |
WICBitmapDitherTypeSpiral4x4 Value: 0x4 A 4x4 spiral dither algorithm. |
WICBitmapDitherTypeSpiral8x8 Value: 0x5 An 8x8 spiral dither algorithm. |
WICBitmapDitherTypeDualSpiral4x4 Value: 0x6 A 4x4 dual spiral dither algorithm. |
WICBitmapDitherTypeDualSpiral8x8 Value: 0x7 An 8x8 dual spiral dither algorithm. |
WICBitmapDitherTypeErrorDiffusion Value: 0x8 An error diffusion algorithm. |
WICBITMAPDITHERTYPE_FORCE_DWORD Value: 0x7fffffff |
Requirements
Requirement | Value |
---|---|
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 |