Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< IW44Image > IW44Image::create_decode ( 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 not use {encode_iff} or {encode_chunk}.

Definition at line 1351 of file IW44Image.cpp.

Referenced by DjVuDocEditor::get_thumbnails_size().

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


Generated by  Doxygen 1.6.0   Back to index