public enum PngFilterType extends Enum<PngFilterType>
The png filter type.
Enum Constant and Description |
---|
Adaptive
Adaptive filtering, means that saving process will choose most sutable filter for each data row.
|
Avg
The avg filter, means, that average filter will be applied to image data.
|
None
The null-filter, means no filtering for image data rows.
|
Paeth
The paeth predictor filter.
|
Sub
The sub filter, means substractive filtering will be applied to image data.
|
Up
The up filter, means row-by-row substraction filter will be applied.
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static PngFilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PngFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PngFilterType None
The null-filter, means no filtering for image data rows.
public static final PngFilterType Sub
The sub filter, means substractive filtering will be applied to image data.
public static final PngFilterType Up
The up filter, means row-by-row substraction filter will be applied.
public static final PngFilterType Avg
The avg filter, means, that average filter will be applied to image data.
public static final PngFilterType Paeth
The paeth predictor filter.
public static final PngFilterType Adaptive
Adaptive filtering, means that saving process will choose most sutable filter for each data row. Best compression, slowest execution time.
public static PngFilterType[] values()
for (PngFilterType c : PngFilterType.values()) System.out.println(c);
public static PngFilterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getType()