public class DefaultMonochromeBitmapConverter extends java.lang.Object implements MonochromeBitmapConverter
| Constructor and Description |
|---|
DefaultMonochromeBitmapConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.RenderedImage |
convertToMonochrome(java.awt.image.BufferedImage img)
Converts a bitmap image to a monochrome (1-bit) b/w bitmap image.
|
void |
setHint(java.lang.String name,
java.lang.String value)
Sets a hint to the implementation
|
public void setHint(java.lang.String name,
java.lang.String value)
setHint in interface MonochromeBitmapConvertername - the name of the hintvalue - the valuepublic java.awt.image.RenderedImage convertToMonochrome(java.awt.image.BufferedImage img)
convertToMonochrome in interface MonochromeBitmapConverterimg - the original imageCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.