DitheringMode

Inheritance: java.lang.Object

public class DitheringMode

Dithering settings to be applied to image upon saving.

Constructors

ConstructorDescription
DitheringMode()

Methods

MethodDescription
getMethod()Dithering algorithm selection.
setMethod(int value)Dithering algorithm selection.
getBits()The sampling factor of dithered image.
setBits(int value)The sampling factor of dithered image.
getCustomPalette()The custom palette for dithering.
setCustomPalette(IColorPalette value)The custom palette for dithering.

DitheringMode()

public DitheringMode()

getMethod()

public int getMethod()

Dithering algorithm selection.

Returns: int

setMethod(int value)

public void setMethod(int value)

Dithering algorithm selection.

Parameters:

ParameterTypeDescription
valueint

getBits()

public int getBits()

The sampling factor of dithered image.

Returns: int

setBits(int value)

public void setBits(int value)

The sampling factor of dithered image.

Parameters:

ParameterTypeDescription
valueint

getCustomPalette()

public IColorPalette getCustomPalette()

The custom palette for dithering.

Returns: IColorPalette

setCustomPalette(IColorPalette value)

public void setCustomPalette(IColorPalette value)

The custom palette for dithering.

Parameters:

ParameterTypeDescription
valueIColorPalette