Interface Ditherer
-
- All Known Implementing Classes:
FloydSteinbergDitherer
public interface Ditherer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QImagedither(QImage image, java.util.Set<QColor> newColors)Dither the given image, producing a new image which only contains colors from the given color set.
-
-
-
Method Detail
-
dither
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.- Parameters:
image- the original, unquantized imagenewColors- the quantized set of colors to be used in the new image- Returns:
- a new image containing only of colors from
newColors
-
-