Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< GPixmap > DjVuImage::get_fgpm (  )  const

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

Definition at line 301 of file DjVuImage.cpp.

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

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


Generated by  Doxygen 1.6.0   Back to index