PngFilter Enum

Selects the PNG row filters used before compression.

public enum PngFilter

Fields

NameValueDescription
Adaptive0Chooses 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.
None1Uses filter type 0 (None) for every row.
Sub2Uses filter type 1 (Sub) for every row.
Up3Uses filter type 2 (Up) for every row.
Average4Uses filter type 3 (Average) for every row.
Paeth5Uses filter type 4 (Paeth) for every row.