Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< GPixmap > DjVuImage::get_bgpm (  )  const

Returns a pointer to the raw background component of a DjVu image. The background component is used for JPEG encoded backgrounds. This function returns a null pointer until the decoder actually processes an #"BGjp"# chunk.

Definition at line 283 of file DjVuImage.cpp.

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

   if (file)
     return get_bgpm(file);
     return 0;

Generated by  Doxygen 1.6.0   Back to index