Convert8to24

#include "BIDIB.H"

 

HANDLE CALLBACK Convert8to24(HANDLE  hDIB1)

Description

Converts the given 8 bit device independent bitmap (DIB) with palette, returns a handle to the global memory with a 24 bit image containing 3 bytes for each pixel.

Parameters

HANDLE

hDIB1

Handle to the global memory with a DIB header (either BITMAPINFOHEADER or BITMAPCOREHEADER)

Return values

Returns a handle to the device independent bitmap if successful or NULL if it failed.

Programming notes

None.

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.

Code example

None at present.