ExpandCompressedDIB

#include "BIDIB.H"

 

HANDLE CALLBACK ExpandCompressedDIB(HANDLE hDIB)

Description

This function expands the compressed device independent bitmap (DIB) to uncompressed format by using the run-length encoding RLE method. The currently supported BI_RLE4 and BI_RLE8 is implemented. For more details, see your Windows SDK Data Types and Structures for BITMAPINFOHEADER data structure definitions.

Parameters

HANDLE

hDIB

Handle to the DIB to be uncompressed.

Return values

Handle to the newly created, uncompressed DIB. NULL on error.

Programming notes

This function 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.