Save This Page
Home » iText-2.1.7 » com.lowagie » text » pdf » codec » [javadoc | source]
com.lowagie.text.pdf.codec
public class: CCITTG4Encoder [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.codec.CCITTG4Encoder
Encodes data in the CCITT G4 FAX format.
Constructor:
 public CCITTG4Encoder(int width) 
Method from com.lowagie.text.pdf.codec.CCITTG4Encoder Summary:
close,   compress,   fax4Encode,   fax4Encode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.codec.CCITTG4Encoder Detail:
 public byte[] close() 
    Closes the encoder and returns the encoded data.
 public static byte[] compress(byte[] data,
    int width,
    int height) 
    Encodes a full image.
 public  void fax4Encode(byte[] data,
    int height) 
    Encodes a number of lines.
 public  void fax4Encode(byte[] data,
    int offset,
    int size) 
    Encodes a number of lines.