![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.quantization.Ditherer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.quantization;
import java.util.Set;
public interface Ditherer {
// ::remove folder when __HAXE__
/**
* Dither the given image, producing a new image which only contains colors from
* the given color set.
*
* @param image the original, unquantized image
* @param newColors the quantized set of colors to be used in the new image
* @return a new image containing only of colors from {@code newColors}
*/
public QImage dither(QImage image, Set newColors);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy