Class ImgJBIG2

All Implemented Interfaces:
Element

public class ImgJBIG2 extends Image
Support for JBIG2 images.
Since:
2.1.5
  • Field Details

    • global

      private byte[] global
      JBIG2 globals
    • globalHash

      private byte[] globalHash
      A unique hash
  • Constructor Details

    • 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 Details

    • 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