PngFilterType

Inheritance: java.lang.Object

public final class PngFilterType

Represents PNG image filter type.

Fields

Field Description
None The null-filter, means no filtering for image data rows.
Sub The sub filter, means subtractive filtering will be applied to image data.
Up The up filter, means row-by-row subtraction filter will be applied.
Avg The avg filter, means, that average filter will be applied to image data.
Paeth The path predictor filter.
Adaptive Adaptive filtering, means that saving process will choose most suitable filter for each data row.

None

public static final int None

The null-filter, means no filtering for image data rows.

Sub

public static final int Sub

The sub filter, means subtractive filtering will be applied to image data.

Up

public static final int Up

The up filter, means row-by-row subtraction filter will be applied.

Avg

public static final int Avg

The avg filter, means, that average filter will be applied to image data.

Paeth

public static final int Paeth

The path predictor filter.

Adaptive

public static final int Adaptive

Adaptive filtering, means that saving process will choose most suitable filter for each data row. Best compression, slowest execution time.