public class JBIG2SegmentReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JBIG2SegmentReader.JBIG2Page
Inner class that holds information about a JBIG2 page.
|
static class |
JBIG2SegmentReader.JBIG2Segment
Inner class that holds information about a JBIG2 segment.
|
Modifier and Type | Field and Description |
---|---|
static int |
END_OF_FILE |
static int |
END_OF_PAGE |
static int |
END_OF_STRIPE |
static int |
EXTENSION |
static int |
IMMEDIATE_GENERIC_REFINEMENT_REGION |
static int |
IMMEDIATE_GENERIC_REGION |
static int |
IMMEDIATE_HALFTONE_REGION |
static int |
IMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION |
static int |
IMMEDIATE_LOSSLESS_GENERIC_REGION |
static int |
IMMEDIATE_LOSSLESS_HALFTONE_REGION |
static int |
IMMEDIATE_LOSSLESS_TEXT_REGION |
static int |
IMMEDIATE_TEXT_REGION |
static int |
INTERMEDIATE_GENERIC_REFINEMENT_REGION |
static int |
INTERMEDIATE_GENERIC_REGION |
static int |
INTERMEDIATE_HALFTONE_REGION |
static int |
INTERMEDIATE_TEXT_REGION |
static int |
PAGE_INFORMATION |
static int |
PATTERN_DICTIONARY |
static int |
PROFILES |
static int |
SYMBOL_DICTIONARY |
static int |
TABLES |
Constructor and Description |
---|
JBIG2SegmentReader(RandomAccessFileOrArray ra) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
copyByteArray(byte[] b) |
byte[] |
getGlobal(boolean for_embedding) |
JBIG2SegmentReader.JBIG2Page |
getPage(int page) |
int |
getPageHeight(int i) |
int |
getPageWidth(int i) |
int |
numberOfPages() |
void |
read() |
String |
toString() |
public static final int SYMBOL_DICTIONARY
public static final int INTERMEDIATE_TEXT_REGION
public static final int IMMEDIATE_TEXT_REGION
public static final int IMMEDIATE_LOSSLESS_TEXT_REGION
public static final int PATTERN_DICTIONARY
public static final int INTERMEDIATE_HALFTONE_REGION
public static final int IMMEDIATE_HALFTONE_REGION
public static final int IMMEDIATE_LOSSLESS_HALFTONE_REGION
public static final int INTERMEDIATE_GENERIC_REGION
public static final int IMMEDIATE_GENERIC_REGION
public static final int IMMEDIATE_LOSSLESS_GENERIC_REGION
public static final int INTERMEDIATE_GENERIC_REFINEMENT_REGION
public static final int IMMEDIATE_GENERIC_REFINEMENT_REGION
public static final int IMMEDIATE_LOSSLESS_GENERIC_REFINEMENT_REGION
public static final int PAGE_INFORMATION
public static final int END_OF_PAGE
public static final int END_OF_STRIPE
public static final int END_OF_FILE
public static final int PROFILES
public static final int TABLES
public static final int EXTENSION
public JBIG2SegmentReader(RandomAccessFileOrArray ra) throws IOException
IOException
public static byte[] copyByteArray(byte[] b)
public void read() throws IOException
IOException
public int numberOfPages()
public int getPageHeight(int i)
public int getPageWidth(int i)
public JBIG2SegmentReader.JBIG2Page getPage(int page)
public byte[] getGlobal(boolean for_embedding)
Copyright © 1998–2022. All rights reserved.