Class PDFCCITTFaxProducer

java.lang.Object
java.io.OutputStream
com.inductiveautomation.rm.pdf.reader.PDFCCITTFaxProducer
All Implemented Interfaces:
ImageProducer, Closeable, Flushable, AutoCloseable

public class PDFCCITTFaxProducer extends OutputStream implements ImageProducer
This class is an image producer that uses the RBCodecCCITTFaxDecoder to produce the bits of a 1bpp monochrome image. This is used as an optimization for when decoding the entire image at once would be too expensive. Instead of holding on to all the bytes of a decompressed 8bpp BufferedImage, this class holds on to the compressed bit stream and produces the image as needed.