public static class Jbig2SegmentReader.Jbig2Page extends Object
| 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.
|
int |
getPage()
Retrieves the page number of the Jbig2Page object.
|
int |
getPageBitmapHeight()
Retrieves page bitmap height of the JBig2Page object.
|
int |
getPageBitmapWidth()
Retrieves page bitmap width of the Jbig2Page object.
|
void |
setPageBitmapHeight(int pageBitmapHeight)
Sets the height of the page bitmap of a Jbig2Page object.
|
void |
setPageBitmapWidth(int pageBitmapWidth)
Sets page bitmap width of the JBig2Page object.
|
public Jbig2Page(int page,
Jbig2SegmentReader sr)
public int getPage()
public int getPageBitmapWidth()
public void setPageBitmapWidth(int pageBitmapWidth)
pageBitmapWidth - page bitmap widthpublic int getPageBitmapHeight()
public void setPageBitmapHeight(int pageBitmapHeight)
pageBitmapHeight - height of the page bitmappublic byte[] getData(boolean for_embedding)
throws IOException
for_embedding - True if the bytes represents embedded data, false otherwiseIOException - if an I/O error occurs.public void addSegment(Jbig2SegmentReader.Jbig2Segment s)
Copyright © 1998–2025 Apryse Group NV. All rights reserved.