TwelveMonkeys ImageIO 一个插件集合并且扩展了 Java’s ImageIO.
示例代码:
import com.twelvemonkeys.image.DiffusionDither; ... BufferedImage input = ...; // Image to dither BufferedImageOp ditherer = new DiffusionDither(); BufferedImage output = ditherer.filter(input, null);