Logo Search packages:      
Sourcecode: djvulibre version File versions

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

Initializes an IWPixmap with color 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}). Argument crcbmode# specifies how the chrominance information should be encoded (see {CRCBMode}).

Definition at line 1558 of file IW44EncodeCodec.cpp.

References IWPixmap::Encode::init().

  IWPixmap::Encode *pix=new IWPixmap::Encode();
  GP<IW44Image> retval=pix;
  pix->init(pm, gmask,(IWPixmap::Encode::CRCBMode)crcbmode);
  return retval;

Generated by  Doxygen 1.6.0   Back to index