Class ImgJBIG2

    • 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