Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
WICPngFilterUnspecifiedValue: 0 Indicates an unspecified PNG filter. This enables WIC to algorithmically choose the best filtering option for the image. |
WICPngFilterNoneValue: 0x1 Indicates no PNG filter. |
WICPngFilterSubValue: 0x2 Indicates a PNG sub filter. |
WICPngFilterUpValue: 0x3 Indicates a PNG up filter. |
WICPngFilterAverageValue: 0x4 Indicates a PNG average filter. |
WICPngFilterPaethValue: 0x5 Indicates a PNG paeth filter. |
WICPngFilterAdaptiveValue: 0x6 Indicates a PNG adaptive filter. This enables WIC to choose the best filtering mode on a per-scanline basis. |
WICPNGFILTEROPTION_FORCE_DWORDValue: 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 |