WICPngFilterOption enumeration (wincodec.h)

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

Syntax

typedef enum WICPngFilterOption {
  WICPngFilterUnspecified,
  WICPngFilterNone,
  WICPngFilterSub,
  WICPngFilterUp,
  WICPngFilterAverage,
  WICPngFilterPaeth,
  WICPngFilterAdaptive,
  WICPNGFILTEROPTION_FORCE_DWORD
} ;

Constants

 
WICPngFilterUnspecified
Indicates an unspecified PNG filter. This enables WIC to algorithmically choose the best filtering option for the image.
WICPngFilterNone
Indicates no PNG filter.
WICPngFilterSub
Indicates a PNG sub filter.
WICPngFilterUp
Indicates a PNG up filter.
WICPngFilterAverage
Indicates a PNG average filter.
WICPngFilterPaeth
Indicates a PNG paeth filter.
WICPngFilterAdaptive
Indicates a PNG adaptive filter. This enables WIC to choose the best filtering mode on a per-scanline basis.
WICPNGFILTEROPTION_FORCE_DWORD

Requirements

   
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