Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

void JB2Dict::compress ( void   )  [inherited]

Compresses all shape bitmaps. This function reduces the memory required by the JB2Image# by calling {GBitmap::compress} on all shapes bitmaps. This function is best called after decoding a JB2Image#, because function {get_bitmap} can directly use the compressed bitmaps.

Definition at line 205 of file JB2Image.cpp.

References GArrayTemplate< TYPE >::hbound(), and GArrayTemplate< TYPE >::lbound().

  for (int i=shapes.lbound(); i<=shapes.hbound(); i++)

Generated by  Doxygen 1.6.0   Back to index