PngFilter Enum
Selects the PNG row filters used before compression.
public enum PngFilterFields
| Name | Value | Description |
|---|---|---|
Adaptive | 0 | Chooses a filter per row with a heuristic. This is the default. Indexed output (PngPixelLayout.Indexed) uses filter type 0 (None) for every row instead, as the PNG specification recommends: differences between palette indexes say nothing about the colors. With PngOptimization.MinimumSize, every strategy is compressed and the smallest is kept. |
None | 1 | Uses filter type 0 (None) for every row. |
Sub | 2 | Uses filter type 1 (Sub) for every row. |
Up | 3 | Uses filter type 2 (Up) for every row. |
Average | 4 | Uses filter type 3 (Average) for every row. |
Paeth | 5 | Uses filter type 4 (Paeth) for every row. |