public class DefaultMonochromeBitmapConverter extends Object implements MonochromeBitmapConverter
Constructor and Description |
---|
DefaultMonochromeBitmapConverter() |
Modifier and Type | Method and Description |
---|---|
RenderedImage |
convertToMonochrome(BufferedImage img)
Converts a bitmap image to a monochrome (1-bit) b/w bitmap image.
|
void |
setHint(String name,
String value)
Sets a hint to the implementation
|
public void setHint(String name, String value)
setHint
in interface MonochromeBitmapConverter
name
- the name of the hintvalue
- the valuepublic RenderedImage convertToMonochrome(BufferedImage img)
convertToMonochrome
in interface MonochromeBitmapConverter
img
- the original imageCopyright © 2025 Apache Software Foundation. All rights reserved.