public enum DitheringMethod extends Enum<DitheringMethod>
Dithering method.
| Enum Constant and Description |
|---|
FloydSteinbergDithering
The Floyd-Steinberg dithering.
|
ThresholdDithering
Threshold dithering.
|
| Modifier and Type | Method and Description |
|---|---|
static DitheringMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DitheringMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DitheringMethod ThresholdDithering
Threshold dithering. Simplest and fastest dithering algorithm.
public static final DitheringMethod FloydSteinbergDithering
The Floyd-Steinberg dithering. A more complex dithering algorithm, uses nearest neighbors intensity values.
public static DitheringMethod[] values()
for (DitheringMethod c : DitheringMethod.values()) System.out.println(c);
public static DitheringMethod 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 nullCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.