IW44 encoded gray-level and color images.
IW44 encoded gray-level and color images. This class acts as a base for images represented as a collection of IW44 wavelet coefficients. The coefficients are stored in a memory efficient data structure. Member function get_bitmap renders an arbitrary segment of the image into a GBitmap. Member functions decode_iff and encode_iff read and write DjVu IW44 files (see IW44Image.h). Both the copy constructor and the copy operator are declared as private members. It is therefore not possible to make multiple copies of instances of this class.
close_codec must be called after processing the last chunk in order to
reset the coder and release the associated memory.
static GP<IW44Image> create_decode(const bool color=true)
static GP<IW44Image> create_encode(const bool color=true)
static GP<IW44Image> create(const GBitmap &bm, const GP<GBitmap> mask=0)
static GP<IW44Image> create(const GPixmap &bm, const GP<GBitmap> mask=0, CRCBMode crcbmode=CRCBnormal)
int get_width(void) const
int get_height(void) const
virtual GP<GBitmap> get_bitmap(void)
virtual GP<GBitmap> get_bitmap(int subsample, const GRect &rect)
virtual GP<GPixmap> get_pixmap(void)
virtual GP<GPixmap> get_pixmap(int subsample, const GRect &rect)
virtual unsigned int get_memory_usage(void) const
virtual int get_percent_memory(void) const
virtual int encode_chunk(ByteStream &bs, const IWEncoderParms &parms)
virtual void encode_iff(IFFByteStream &iff, int nchunks, const IWEncoderParms *parms)
virtual int decode_chunk(ByteStream &bs)
virtual void decode_iff(IFFByteStream &iff, int maxchunks=999)
virtual void close_codec(void)
virtual int get_serial(void)
virtual int parm_crcbdelay(const int parm)
virtual void parm_dbfrac(float frac)
Alphabetic index HTML hierarchy of classes or Java