org.apache.fop.render.pcl

Interface MonochromeBitmapConverter

Known Implementing Classes:
DefaultMonochromeBitmapConverter, JAIMonochromeBitmapConverter

public interface MonochromeBitmapConverter

Interface for converters that convert grayscale images to monochrome (1-bit) bitmap images.

Method Summary

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

Method Details

convertToMonochrome

public RenderedImage convertToMonochrome(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

setHint

public void setHint(String name,
                    String value)
Sets a hint to the implementation
Parameters:
name - the name of the hint
value - the value

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.