public class JBIG2Image extends Object
| Constructor and Description |
|---|
JBIG2Image() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getGlobalSegment(RandomAccessFileOrArray ra)
Gets a byte array that can be used as a /JBIG2Globals,
or null if not applicable to the given jbig2.
|
static Image |
getJbig2Image(RandomAccessFileOrArray ra,
int page)
returns an Image representing the given page.
|
static int |
getNumberOfPages(RandomAccessFileOrArray ra)
Gets the number of pages in a JBIG2 image.
|
public static byte[] getGlobalSegment(RandomAccessFileOrArray ra)
ra - an random access file or arraypublic static Image getJbig2Image(RandomAccessFileOrArray ra, int page)
ra - the file or array containing the imagepage - the page number of the imagepublic static int getNumberOfPages(RandomAccessFileOrArray ra)
ra - a random acces file array containing a JBIG2 imageCopyright © 2015. All rights reserved.