Class JBIG2SegmentReader.JBIG2Page

java.lang.Object
com.aowagie.text.pdf.codec.JBIG2SegmentReader.JBIG2Page
Enclosing class:
JBIG2SegmentReader

public static class JBIG2SegmentReader.JBIG2Page extends Object
Inner class that holds information about a JBIG2 page.
Since:
2.1.5
  • Field Details

    • sr

      private final JBIG2SegmentReader sr
    • segs

      private final SortedMap segs
    • pageBitmapWidth

      int pageBitmapWidth
    • pageBitmapHeight

      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.
      Parameters:
      for_embedding -
      Returns:
      a byte array
      Throws:
      IOException
    • addSegment

      private void addSegment(JBIG2SegmentReader.JBIG2Segment s)