Class CCITTG4Encoder

java.lang.Object
com.aowagie.text.pdf.codec.CCITTG4Encoder

public class CCITTG4Encoder extends Object
Encodes data in the CCITT G4 FAX format.
  • Method Details

    • compress

      public static byte[] compress(byte[] data, int width, int height)
      Encodes a full image.
      Parameters:
      data - the data to encode
      width - the image width
      height - the image height
      Returns:
      the encoded image