Class AdjustPalette
Class AdjustPalette
Namespace: Aspose.Imaging.PaletteHelper
Assembly: Aspose.Imaging.dll (25.2.0)
Color palette adjustment class
public class AdjustPalette
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
AdjustPalette()
public AdjustPalette()
Methods
GetCloseImagePalette(RasterImage, int, ColorQuantizationMethod, ColorCompareMethod)
Gets the close image palette.
public static IColorPalette GetCloseImagePalette(RasterImage image, int entriesCount, ColorQuantizationMethod colorQuantizationMethod, ColorCompareMethod colorCompareMethod)
Parameters
image
RasterImage
The image.
entriesCount
int
The entries count.
colorQuantizationMethod
ColorQuantizationMethod
The color quantization method.
colorCompareMethod
ColorCompareMethod
The color compare method.
Returns
Optimized for image palette