org.apache.fop.render.pcl
Interface MonochromeBitmapConverter
- DefaultMonochromeBitmapConverter, JAIMonochromeBitmapConverter
public interface MonochromeBitmapConverter
Interface for converters that convert grayscale images to monochrome (1-bit) bitmap images.
RenderedImage | convertToMonochrome(BufferedImage img)- Converts a grayscale bitmap image to a monochrome (1-bit) b/w bitmap image.
|
void | setHint(String name, String value)- Sets a hint to the implementation
|
convertToMonochrome
public RenderedImage convertToMonochrome(BufferedImage img)
Converts a grayscale bitmap image to a monochrome (1-bit) b/w bitmap image.
img - the grayscale image
- the converted monochrome image
setHint
public void setHint(String name,
String value) Sets a hint to the implementation
name - the name of the hintvalue - the value
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.