|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.pcl.DefaultMonochromeBitmapConverter
public class DefaultMonochromeBitmapConverter
Default implementation of the MonochromeBitmapConverter which uses the Java Class Library to convert grayscale bitmaps to monochrome bitmaps.
Constructor Summary | |
---|---|
DefaultMonochromeBitmapConverter()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMonochromeBitmapConverter()
Method Detail |
---|
public void setHint(java.lang.String name, java.lang.String value)
setHint
in interface MonochromeBitmapConverter
name
- the name of the hintvalue
- the valuepublic java.awt.image.RenderedImage convertToMonochrome(java.awt.image.BufferedImage img)
convertToMonochrome
in interface MonochromeBitmapConverter
img
- the grayscale image
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |