Class CCITTG4Encoder
java.lang.Object
com.aowagie.text.pdf.codec.CCITTG4Encoder
Encodes data in the CCITT G4 FAX format.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]compress(byte[] data, int width, int height) Encodes a full image.
-
Method Details
-
compress
public static byte[] compress(byte[] data, int width, int height) Encodes a full image.- Parameters:
data- the data to encodewidth- the image widthheight- the image height- Returns:
- the encoded image
-