|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.pdf.codec.JBIG2Image
public class JBIG2Image
Support for JBIG2 Images. This class assumes that we are always embedding into a pdf.
Constructor Summary | |
---|---|
JBIG2Image()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBIG2Image()
Method Detail |
---|
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 imagepage
- the page number of the image
public static int getNumberOfPages(RandomAccessFileOrArray ra)
ra
- a random acces file array containing a JBIG2 image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |