All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.quantization.Ditherer Maven / Gradle / Ivy

Go to download

PlantUML is a component that allows to quickly write : * sequence diagram, * use case diagram, * class diagram, * activity diagram, * component diagram, * state diagram * object diagram

There is a newer version: 8059
Show newest version
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