Package org.apache.fop.util.bitmap
Interface MonochromeBitmapConverter
-
- All Known Implementing Classes:
DefaultMonochromeBitmapConverter,JAIMonochromeBitmapConverter
public interface MonochromeBitmapConverterInterface for converters that convert images to monochrome (1-bit, bi-level) bitmap images.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.image.RenderedImageconvertToMonochrome(java.awt.image.BufferedImage img)Converts a bitmap image to a monochrome (1-bit) b/w bitmap image.voidsetHint(java.lang.String name, java.lang.String value)Sets a hint to the implementation
-
-
-
Method Detail
-
setHint
void setHint(java.lang.String name, java.lang.String value)Sets a hint to the implementation- Parameters:
name- the name of the hintvalue- the value
-
convertToMonochrome
java.awt.image.RenderedImage convertToMonochrome(java.awt.image.BufferedImage img)
Converts a bitmap image to a monochrome (1-bit) b/w bitmap image.- Parameters:
img- the original image- Returns:
- the converted monochrome image
-
-