public static class Jbig2SegmentReader.Jbig2Page extends Object
Modifier and Type | Field and Description |
---|---|
int |
page |
int |
pageBitmapHeight |
int |
pageBitmapWidth |
Constructor and Description |
---|
Jbig2Page(int page, Jbig2SegmentReader sr) |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(Jbig2SegmentReader.Jbig2Segment s) |
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.
|
public final int page
public int pageBitmapWidth
public int pageBitmapHeight
public Jbig2Page(int page, Jbig2SegmentReader sr)
public byte[] getData(boolean for_embedding) throws IOException
for_embedding
- True if the bytes represents embedded data, false otherwise
IOException
- if an I/O error occurs.
public void addSegment(Jbig2SegmentReader.Jbig2Segment s)
Copyright © 1998–2023 iText Group NV. All rights reserved.