WICPngFilterOption enumeration (wincodec.h)

Specifies the Portable Network Graphics (PNG) filters available for compression optimization.

Syntax

typedef enum WICPngFilterOption {
  WICPngFilterUnspecified = 0,
  WICPngFilterNone = 0x1,
  WICPngFilterSub = 0x2,
  WICPngFilterUp = 0x3,
  WICPngFilterAverage = 0x4,
  WICPngFilterPaeth = 0x5,
  WICPngFilterAdaptive = 0x6,
  WICPNGFILTEROPTION_FORCE_DWORD = 0x7fffffff
} ;

Constants

 
WICPngFilterUnspecified
Value: 0
Indicates an unspecified PNG filter. This enables WIC to algorithmically choose the best filtering option for the image.
WICPngFilterNone
Value: 0x1
Indicates no PNG filter.
WICPngFilterSub
Value: 0x2
Indicates a PNG sub filter.
WICPngFilterUp
Value: 0x3
Indicates a PNG up filter.
WICPngFilterAverage
Value: 0x4
Indicates a PNG average filter.
WICPngFilterPaeth
Value: 0x5
Indicates a PNG paeth filter.
WICPngFilterAdaptive
Value: 0x6
Indicates a PNG adaptive filter. This enables WIC to choose the best filtering mode on a per-scanline basis.
WICPNGFILTEROPTION_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