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 array
public static Image getJbig2Image(RandomAccessFileOrArray ra, int page)
ra
- the file or array containing the image
page
- the page number of the image
public static int getNumberOfPages(RandomAccessFileOrArray ra)
ra
- a random acces file array containing a JBIG2 image
Copyright © 1998–2018. All rights reserved.