Export (0) Print
Expand All
Expand Minimize

WICBitmapDitherType enumeration

Specifies the type of dither algorithm to apply when converting between image formats.

Syntax


typedef enum WICBitmapDitherType { 
  WICBitmapDitherTypeNone            = 0x00000000,
  WICBitmapDitherTypeSolid           = 0x00000000,
  WICBitmapDitherTypeOrdered4x4      = 0x00000001,
  WICBitmapDitherTypeOrdered8x8      = 0x00000002,
  WICBitmapDitherTypeOrdered16x16    = 0x00000003,
  WICBitmapDitherTypeSpiral4x4       = 0x00000004,
  WICBitmapDitherTypeSpiral8x8       = 0x00000005,
  WICBitmapDitherTypeDualSpiral4x4   = 0x00000006,
  WICBitmapDitherTypeDualSpiral8x8   = 0x00000007,
  WICBitmapDitherTypeErrorDiffusion  = 0x00000008
} WICBitmapDitherType;

Constants

WICBitmapDitherTypeNone

A solid color algorithm without dither.

WICBitmapDitherTypeSolid

A solid color algorithm without dither.

WICBitmapDitherTypeOrdered4x4

A 4x4 ordered dither algorithm.

WICBitmapDitherTypeOrdered8x8

An 8x8 ordered dither algorithm.

WICBitmapDitherTypeOrdered16x16

A 16x16 ordered dither algorithm.

WICBitmapDitherTypeSpiral4x4

A 4x4 spiral dither algorithm.

WICBitmapDitherTypeSpiral8x8

An 8x8 spiral dither algorithm.

WICBitmapDitherTypeDualSpiral4x4

A 4x4 dual spiral dither algorithm.

WICBitmapDitherTypeDualSpiral8x8

An 8x8 dual spiral dither algorithm.

WICBitmapDitherTypeErrorDiffusion

An error diffusion algorithm.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

See also

Initialize

 

 

Community Additions

ADD
Show:
© 2014 Microsoft