Class CCITTFaxDecodeFilter

java.lang.Object
com.itextpdf.kernel.pdf.filters.CCITTFaxDecodeFilter
All Implemented Interfaces:
IFilterHandler

public class CCITTFaxDecodeFilter extends Object implements IFilterHandler
Handles CCITTFaxDecode filter
  • Constructor Details

    • CCITTFaxDecodeFilter

      public CCITTFaxDecodeFilter()
  • Method Details

    • decode

      public byte[] decode (byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
      Description copied from interface: IFilterHandler
      Decode the byte[] using the provided filterName.
      Specified by:
      decode in interface IFilterHandler
      Parameters:
      b - the bytes that need to be decoded
      filterName - PdfName of the filter
      decodeParams - decode parameters
      streamDictionary - the dictionary of the stream. Can contain additional information needed to decode the byte[].
      Returns:
      decoded byte array