ImageResizeSettings

Inheritance: java.lang.Object

public class ImageResizeSettings

Image resize settings class

Constructors

ConstructorDescription
ImageResizeSettings()Initializes a new instance of the ImageResizeSettings class with Resize type = (ResizeType.BilinearResample) with Filter type = (ImageFilterType.SmallRectangular) with Color quantization method = (ColorQuantizationMethod.Popularity) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 256 (.getEntriesCount())
ImageResizeSettings(int resizeType)Initializes a new instance of the ImageResizeSettings class with Filter type = (ImageFilterType.None) with Color quantization method = (ColorQuantizationMethod.None) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())
ImageResizeSettings(int resizeType, int filterType)Initializes a new instance of the ImageResizeSettings class with Color quantization method = (ColorQuantizationMethod.None) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())
ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod)Initializes a new instance of the ImageResizeSettings class with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())
ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod, int colorCompareMethod)Initializes a new instance of the ImageResizeSettings class with Color entry count = 0 (.getEntriesCount())

Methods

MethodDescription
getEntriesCount()Gets the entries count
setEntriesCount(int value)Sets the entries count
getMode()Gets the interpolation mode.
setMode(int value)Sets the interpolation mode.
getFilterType()Gets the type of the filter.
setFilterType(int value)Sets the type of the filter.
getColorQuantizationMethod()Gets the color quantization method.
setColorQuantizationMethod(int value)Sets the color quantization method.
getColorCompareMethod()Gets the color compare method.
setColorCompareMethod(int value)Sets the color compare method.

ImageResizeSettings()

public ImageResizeSettings()

Initializes a new instance of the ImageResizeSettings class with Resize type = (ResizeType.BilinearResample) with Filter type = (ImageFilterType.SmallRectangular) with Color quantization method = (ColorQuantizationMethod.Popularity) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 256 (.getEntriesCount())

ImageResizeSettings(int resizeType)

public ImageResizeSettings(int resizeType)

Initializes a new instance of the ImageResizeSettings class with Filter type = (ImageFilterType.None) with Color quantization method = (ColorQuantizationMethod.None) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())

Parameters:

ParameterTypeDescription
resizeTypeintResize type.

ImageResizeSettings(int resizeType, int filterType)

public ImageResizeSettings(int resizeType, int filterType)

Initializes a new instance of the ImageResizeSettings class with Color quantization method = (ColorQuantizationMethod.None) with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())

Parameters:

ParameterTypeDescription
resizeTypeintResize type.
filterTypeintFilter type.

ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod)

public ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod)

Initializes a new instance of the ImageResizeSettings class with Color compare method = (ColorCompareMethod.Euclidian) with Color entry count = 0 (.getEntriesCount())

Parameters:

ParameterTypeDescription
resizeTypeintResize type.
filterTypeintFilter type.
colorQuantizationMethodintColor quantization method.

ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod, int colorCompareMethod)

public ImageResizeSettings(int resizeType, int filterType, int colorQuantizationMethod, int colorCompareMethod)

Initializes a new instance of the ImageResizeSettings class with Color entry count = 0 (.getEntriesCount())

Parameters:

ParameterTypeDescription
resizeTypeintResize type.
filterTypeintFilter type.
colorQuantizationMethodintColor quantization method.
colorCompareMethodintColor compare method.

getEntriesCount()

public int getEntriesCount()

Gets the entries count

Returns: int - The entries count

setEntriesCount(int value)

public void setEntriesCount(int value)

Sets the entries count

Parameters:

ParameterTypeDescription
valueintThe entries count

getMode()

public int getMode()

Gets the interpolation mode.

Returns: int - The mode.

setMode(int value)

public void setMode(int value)

Sets the interpolation mode.

Parameters:

ParameterTypeDescription
valueintThe mode.

getFilterType()

public int getFilterType()

Gets the type of the filter.

Returns: int - The type of the filter.

setFilterType(int value)

public void setFilterType(int value)

Sets the type of the filter.

Parameters:

ParameterTypeDescription
valueintThe type of the filter.

getColorQuantizationMethod()

public int getColorQuantizationMethod()

Gets the color quantization method.

Returns: int - The color quantization method.

setColorQuantizationMethod(int value)

public void setColorQuantizationMethod(int value)

Sets the color quantization method.

Parameters:

ParameterTypeDescription
valueintThe color quantization method.

getColorCompareMethod()

public int getColorCompareMethod()

Gets the color compare method.

Returns: int - The color compare method.

setColorCompareMethod(int value)

public void setColorCompareMethod(int value)

Sets the color compare method.

Parameters:

ParameterTypeDescription
valueintThe color compare method.