Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< JB2Image > DjVuImage::get_fgjb (  )  const

Returns a pointer to the mask of the foreground component of a DjVu image. The mask of the foreground component is always a JB2 image in this implementation. This function returns a null pointer until the decoder actually processes an #"Sjbz"# chunk.

Definition at line 292 of file DjVuImage.cpp.

Referenced by is_legal_bilevel(), is_legal_compound(), and is_legal_photo().

{
   if (file)
     return get_fgjb(file);
   else
     return 0;
}


Generated by  Doxygen 1.6.0   Back to index