public class AdjustPalette extends Object
Color palette adjustment class
Constructor and Description |
---|
AdjustPalette() |
Modifier and Type | Method and Description |
---|---|
static IColorPalette |
process_internalized(RasterImage image,
int entriesCount)
Adapts palette to the image colors - short call specification.
|
static IColorPalette |
process_internalized(RasterImage image,
int entriesCount,
int colorQuantizationMethod,
int colorCompareMethod)
Adapts palette to the image colors.
|
public static IColorPalette process_internalized(RasterImage image, int entriesCount)
Adapts palette to the image colors - short call specification.
image
- The image.entriesCount
- The desired palette entries count.ImageException
- Can't perform gamma-correction.public static IColorPalette process_internalized(RasterImage image, int entriesCount, int colorQuantizationMethod, int colorCompareMethod)
Adapts palette to the image colors.
image
- The image.entriesCount
- The desired palette entries count.colorQuantizationMethod
- The color quantization method.colorCompareMethod
- The color compare method.com.aspose.ms.System.Exception
- Can't perform color palette adjustment.ImageException
- Can't perform gamma-correction.