Packages

 

com.aspose.imaging.palettehelper

Class AdjustPalette



  • public final class AdjustPalette
    extends Object

    Color palette adjustment class

    • Method Detail

      • getCloseImagePalette

        public static IColorPalette getCloseImagePalette(RasterImage image,
                                                         int entriesCount,
                                                         int colorQuantizationMethod,
                                                         int colorCompareMethod)

        Gets the close image palette.

        Parameters:
        image - The image.
        entriesCount - The entries count.
        colorQuantizationMethod - The color quantization method.
        colorCompareMethod - The color compare method.
        Returns:
        Optimized for image palette