org.apache.fop.render.pcl
Class JAIMonochromeBitmapConverter
java.lang.Object
org.apache.fop.render.pcl.JAIMonochromeBitmapConverter
- MonochromeBitmapConverter
public class JAIMonochromeBitmapConverter
extends java.lang.Object
Implementation of the MonochromeBitmapConverter which uses Java Advanced Imaging (JAI)
to convert grayscale bitmaps to monochrome bitmaps. JAI provides better dithering options
including error diffusion dithering.
If you call setHint("quality", "true") on the instance you can enabled error diffusion
dithering which produces a nicer result but is also a lot slower.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.