Logo Search packages:      
Sourcecode: djvulibre version File versions

bool DjVuImage::wait_for_complete_decode ( void   ) 

The decoder is now started when the image is created by function {DjVuDocument::get_page} in {DjVuDocument}. This function waits until the decoding thread terminates and returns TRUE if the image has been successfully decoded.

Definition at line 1354 of file DjVuImage.cpp.

{
  if (file) 
  {
    file->resume_decode(true);
    return file->is_decode_ok();
  }
  return 0;
}


Generated by  Doxygen 1.6.0   Back to index