Convert32BitDIBTo24Bit

#include "BIDIB.H"

 

HDIB CALLBACK Convert32BitDIBTo24Bit (HDIB32 hDib)

Description

This function converts a 32 bit per pixel DIB to 24 bit per pixel DIB. The function will ignore the 4th BYTE in every 32 bit.

Parameters

HDIB32

hDib

Handle of the 32 bit per pixel DIB.

Return values

The handle of the converted 24 bit per pixel DIB.

Programming notes

The function will not free the input DIB.

Requirements

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

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.