EN
此内容没有您的语言版本,但有英语版本。

WICPngFilterOption enumeration

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

Syntax


typedef enum WICPngFilterOption { 
  WICPngFilterUnspecified  = 0x00000000,
  WICPngFilterNone         = 0x00000001,
  WICPngFilterSub          = 0x00000002,
  WICPngFilterUp           = 0x00000003,
  WICPngFilterAverage      = 0x00000004,
  WICPngFilterPaeth        = 0x00000005,
  WICPngFilterAdaptive     = 0x00000006
} WICPngFilterOption;

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.

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

IDL

Wincodec.idl

 

 

社区附加资源

添加
显示:
© 2014 Microsoft