com.lowagie.text

Class ImgJBIG2

public class ImgJBIG2 extends Image

Support for JBIG2 images.

Since: 2.1.5

Field Summary
byte[]global
JBIG2 globals
byte[]globalHash
A unique hash
Constructor Summary
ImgJBIG2(Image image)
Copy contstructor.
ImgJBIG2()
Empty constructor.
ImgJBIG2(int width, int height, byte[] data, byte[] globals)
Actual constructor for ImgJBIG2 images.
Method Summary
byte[]getGlobalBytes()
Getter for the JBIG2 global data.
byte[]getGlobalHash()
Getter for the unique hash.

Field Detail

global

private byte[] global
JBIG2 globals

globalHash

private byte[] globalHash
A unique hash

Constructor Detail

ImgJBIG2

ImgJBIG2(Image image)
Copy contstructor.

Parameters: image another Image

ImgJBIG2

public ImgJBIG2()
Empty constructor.

ImgJBIG2

public ImgJBIG2(int width, int height, byte[] data, byte[] globals)
Actual constructor for ImgJBIG2 images.

Parameters: width the width of the image height the height of the image data the raw image data globals JBIG2 globals

Method Detail

getGlobalBytes

public byte[] getGlobalBytes()
Getter for the JBIG2 global data.

Returns: an array of bytes

getGlobalHash

public byte[] getGlobalHash()
Getter for the unique hash.

Returns: an array of bytes