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

GP< IW44Image > IW44Image::create_encode ( const ImageType  itype = COLOR  )  [static]

Null constructor. Constructs an empty IW44Image object. This object does not contain anything meaningful. You must call function {init}, {decode_iff} or {decode_chunk} to populate the wavelet coefficient data structure. You may then use {encode_iff} and {encode_chunk}.

Definition at line 1384 of file IW44EncodeCodec.cpp.

Referenced by DjVuDocEditor::generate_thumbnails().

{
  switch(itype)
  {
  case COLOR:
    return new IWPixmap::Encode();
  case GRAY:
    return new IWBitmap::Encode();
  default:
    return 0;
  }
}


Generated by  Doxygen 1.6.0   Back to index