public class ImageResizeSettings extends Object
Image resize settings class
| Constructor and Description |
|---|
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 (ImageResizeSettings.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 (ImageResizeSettings.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 (ImageResizeSettings.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 (ImageResizeSettings.getEntriesCount()) |
ImageResizeSettings(int resizeType,
int filterType,
int colorQuantizationMethod,
int colorCompareMethod)
Initializes a new instance of the
ImageResizeSettings class
with Color entry count = 0 (ImageResizeSettings.getEntriesCount()) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColorCompareMethod()
Gets the color compare method.
|
int |
getColorQuantizationMethod()
Gets the color quantization method.
|
int |
getEntriesCount()
Gets the entries count
|
int |
getFilterType()
Gets the type of the filter.
|
int |
getMode()
Gets the interpolation mode.
|
void |
setColorCompareMethod(int value)
Sets the color compare method.
|
void |
setColorQuantizationMethod(int value)
Sets the color quantization method.
|
void |
setEntriesCount(int value)
Sets the entries count
|
void |
setFilterType(int value)
Sets the type of the filter.
|
void |
setMode(int value)
Sets the interpolation mode.
|
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 (ImageResizeSettings.getEntriesCount())
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 (ImageResizeSettings.getEntriesCount())
resizeType - Resize type.ResizeType,
ImageFilterType,
ColorQuantizationMethod,
ColorCompareMethodpublic 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 (ImageResizeSettings.getEntriesCount())
resizeType - Resize type.filterType - Filter type.ResizeType,
ImageFilterType,
ColorQuantizationMethod,
ColorCompareMethodpublic 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 (ImageResizeSettings.getEntriesCount())
resizeType - Resize type.filterType - Filter type.colorQuantizationMethod - Color quantization method.ResizeType,
ImageFilterType,
ColorQuantizationMethod,
ColorCompareMethodpublic ImageResizeSettings(int resizeType,
int filterType,
int colorQuantizationMethod,
int colorCompareMethod)
Initializes a new instance of the ImageResizeSettings class
with Color entry count = 0 (ImageResizeSettings.getEntriesCount())
resizeType - Resize type.filterType - Filter type.colorQuantizationMethod - Color quantization method.colorCompareMethod - Color compare method.ResizeType,
ImageFilterType,
ColorQuantizationMethod,
ColorCompareMethodpublic int getEntriesCount()
Gets the entries count
public void setEntriesCount(int value)
Sets the entries count
value - The entries countpublic int getMode()
Gets the interpolation mode.
public void setMode(int value)
Sets the interpolation mode.
value - The mode.public int getFilterType()
Gets the type of the filter.
public void setFilterType(int value)
Sets the type of the filter.
value - The type of the filter.public int getColorQuantizationMethod()
Gets the color quantization method.
public void setColorQuantizationMethod(int value)
Sets the color quantization method.
value - The color quantization method.public int getColorCompareMethod()
Gets the color compare method.
public void setColorCompareMethod(int value)
Sets the color compare method.
value - The color compare method.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.