Class ImageRawCCITTFax

  • All Implemented Interfaces:
    Image

    public class ImageRawCCITTFax
    extends ImageRawStream
    This class is an implementation of the Image interface exposing a 1-bit bitmap image stream that can be decoded by the PostScript or PDF CCITTFaxDecode filter.
    • Constructor Detail

      • ImageRawCCITTFax

        public ImageRawCCITTFax​(ImageInfo info,
                                InputStream in,
                                int compression)
        Main constructor.
        Parameters:
        info - the image info object
        in - the ImageInputStream with the raw content
        compression - the integer value of the TIFF compression scheme
    • Method Detail

      • getCompression

        public int getCompression()
        Returns the TIFF compression scheme.
        Returns:
        the TIFF compression scheme