public interface Ditherer
Modifier and Type | Method and Description |
---|---|
QImage |
dither(QImage image,
java.util.Set<QColor> newColors)
Dither the given image, producing a new image which only contains colors from
the given color set.
|
QImage dither(QImage image, java.util.Set<QColor> newColors)
image
- the original, unquantized imagenewColors
- the quantized set of colors to be used in the new imagenewColors