CompressDIB  Method

Description         Compresses a Device Independent Bitmap.

Usage                  NewDib = [BiDib.]CompressDIB Dib

Remarks             NewDib                  LONGLONG The compressed device independent bitmap.

                            Dib                          LONGLONG Device independent bitmap to compress.

 

This method compresses a device independent bitmap (DIB) by using run-length encoding BI_REL4 and BI_REL8 methods.

 

This method works with only 1, 2, 4 or 8 bit images

This method does not delete the original bitmap.

See Also              ExpandCompressedDIB Method