com.lowagie.text.pdf.codec
public class JBIG2Image extends Object
Since: 2.1.5
Method Summary | |
---|---|
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. |
Parameters: ra an random access file or array
Returns: a byte array
Parameters: ra the file or array containing the image page the page number of the image
Returns: an Image object
Parameters: ra a random acces file array containing a JBIG2 image
Returns: the number of pages