#include <djv_jbig2decoder.h>
Static Public Member Functions | |
static AutoPtr< JB2Dictionary > | createDict (Stream *inJB2d) |
static AutoPtr< JB2Dictionary > | createDict (const Chunk *inJB2d) |
static AutoPtr< JB2Page > | createPage (Stream *inJB2p, JB2Dictionary *inDict) |
static AutoPtr< JB2Page > | createPage (const Chunk *inJB2p, JB2Dictionary *inDict) |
This class provides supplemental functions to decode JBIG2 images.
The actual JBIG2 decoder is integrated into JB2 decoder and the rendering functions are provided by JB2Page.
Please note that the decoder equips only some parts of JBIG2 specification enough to support JBIG2 on DjVu and PDF.
|
static |
Decode JB2d
(JBIG2 dictionary) stream.
inJB2d | Stream which contains JB2d (JBIG2 dictionary) data. |
|
static |
Decode JB2d
(JBIG2 dictionary) chunk.
inJB2d | Chunk which contains JB2d (JBIG2 dictionary) data. |
|
static |
Decode JB2p
(JBIG2 page) stream.
inJB2p | Stream which contains JB2p (JBIG2 page) data. |
inDict | JBIG2 dictionary instance if any. It can be NULL for page data without dictionary. |
|
static |
Decode JB2p
(JBIG2 page) chunk.
inJB2p | Chunk which contains JB2p (JBIG2 page) data. |
inDict | JBIG2 dictionary instance if any. It can be NULL for page data without dictionary. |