Class Jbig2SegmentReader.Jbig2Page

Enclosing class:

public static class Jbig2SegmentReader.Jbig2Page extends Object
Inner class that holds information about a JBIG2 page.
  • Field Details

    • page

      public final int page
    • pageBitmapWidth

      public int pageBitmapWidth
    • pageBitmapHeight

      public int pageBitmapHeight
  • Constructor Details

  • Method Details

    • getData

      public byte[] getData (boolean for_embedding) throws IOException
      return as a single byte array the header-data for each segment in segment number order, EMBEDDED organization, but I am putting the needed segments in SEQUENTIAL organization. if for_embedding, skip the segment types that are known to be not for acrobat.
      for_embedding - True if the bytes represents embedded data, false otherwise
      a byte array
      IOException - if an I/O error occurs.
    • addSegment

      public void addSegment (Jbig2SegmentReader.Jbig2Segment s)