Package com.itextpdf.text.pdf.codec
Class JBIG2SegmentReader.JBIG2Page
java.lang.Object
com.itextpdf.text.pdf.codec.JBIG2SegmentReader.JBIG2Page
- Enclosing class:
JBIG2SegmentReader
Inner class that holds information about a JBIG2 page.
- Since:
- 2.1.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
int
int
private final SortedMap
<Integer, JBIG2SegmentReader.JBIG2Segment> private final JBIG2SegmentReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
byte[]
getData
(boolean for_embedding) 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.
-
Field Details
-
page
public final int page -
sr
-
segs
-
pageBitmapWidth
public int pageBitmapWidth -
pageBitmapHeight
public int pageBitmapHeight
-
-
Constructor Details
-
JBIG2Page
-
-
Method Details
-
getData
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
-