org.apache.fop.render.pcl
Interface MonochromeBitmapConverter
- All Known Implementing Classes:
- DefaultMonochromeBitmapConverter, JAIMonochromeBitmapConverter
- public interface MonochromeBitmapConverter
Interface for converters that convert grayscale images to monochrome (1-bit) bitmap images.
Method Summary |
java.awt.image.RenderedImage |
convertToMonochrome(java.awt.image.BufferedImage img)
Converts a grayscale 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 |
setHint
public 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
public java.awt.image.RenderedImage convertToMonochrome(java.awt.image.BufferedImage img)
- Converts a grayscale bitmap image to a monochrome (1-bit) b/w bitmap image.
- Parameters:
img
- the grayscale image- Returns:
- the converted monochrome image
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.