Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

GP< IW44Image > IW44Image::create_encode ( const GBitmap bm,
const GP< GBitmap mask = 0 
) [static]

Initializes an IWBitmap with image bm#. This constructor performs the wavelet decomposition of image bm# and records the corresponding wavelet coefficient. Argument mask# is an optional bilevel image specifying the masked pixels (see {IW44Image.h}).

Definition at line 1398 of file IW44EncodeCodec.cpp.

References IWBitmap::Encode::init().

  IWBitmap::Encode *bit=new IWBitmap::Encode();
  GP<IW44Image> retval=bit;
  bit->init(bm, mask);
  return retval;

Generated by  Doxygen 1.6.0   Back to index