#include "BiDIB.h"
HDIB CALLBACK CompressDIB(HDIB hDIB)
Description
This function compresses a device independent bitmap (DIB) by using the run-length encoding RLE method. The currently supported BI_RLE4 and BI_RLE8 is implemented. For more detail, see your Windows SDK Data Types and Structures for BITMAPINFOHEADER the data structure definition.
Parameters
|
HDIB |
hDIB |
Handle to the DIB to be compressed |
Return Value
Handle to the newly created, compressed DIB. NULL on error.
Programming notes
This functions does not delete the original DIB.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example
None at present.