Package com.itextpdf.io.codec
Class Jbig2SegmentReader.Jbig2Page
java.lang.Object
com.itextpdf.io.codec.Jbig2SegmentReader.Jbig2Page
- Enclosing class:
- Jbig2SegmentReader
Inner class that holds information about a JBIG2 page.
-
Field Summary
-
Constructor Summary
-
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 -
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
- True if the bytes represents embedded data, false otherwise - Returns:
- a byte array
- Throws:
-
IOException
- if an I/O error occurs.
-
addSegment
-