Provides enumeration of available PNG filter methods.
public enum PngFilterMethod : int
Computes the output scanline using all five filters, and selects the filter that gives the smallest sum of absolute values of outputs. This method usually outperforms any single fixed filter choice.
The Average filter uses the average of the two neighboring pixels (left and above) to predict the value of a pixel.
With the None filter, the scanline is transmitted unmodified.
The Paeth filter computes a simple linear function of the three neighboring pixels (left, above, upper left), then chooses as predictor the neighboring pixel closest to the computed value.
The Sub filter transmits the difference between each byte and the value of the corresponding byte of the prior pixel.
The Up filter is just like the Sub filter except that the pixel immediately above the current pixel, rather than just to its left, is used as the predictor.