public static class ColorQuantizer.ColorReductionInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
distictColors
Number of distint colors in the image
|
boolean |
hasPartialTransparency
True if the image has partially transparent areas (alpha channel)
|
| Constructor and Description |
|---|
ColorQuantizer.ColorReductionInfo(boolean hasPartialTransparency,
int distictColors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReduceWithoutQualityLoss()
Returns true if the image can be saved in a 8-bit indexed color format with
1-bit transparency without quality loss.
|
public int distictColors
public boolean hasPartialTransparency
Copyright © 2013 Carrot Search s.c.. All Rights Reserved.