[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.PngFilterFlags

PngFilterFlags Enum

Row filters to use when encoding a PNG.

Namespace: GrapeCity.Documents.Imaging.Skia
Assembly: DS.Documents.Imaging.Skia.dll
Syntax
[Flags]
public enum PngFilterFlags
<Flags>
Public Enum PngFilterFlags

Fields

Name Description
AllFilters

Try all the filters.

Average

Use the average of the two neighboring pixels (left and above) to predict the value of a pixel.

NoFilters

Do not use any filters.

None

Transmit unmodified.

Paeth

Compute 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.

Sub

Transmit the difference between each byte and the value of the corresponding byte of the prior pixel.

Up

Transmit the difference between each byte and the value of the corresponding byte of the pixel above.