#include "BIDIB.H"
HANDLE CALLBACK ConvertMonoDIBtoGrayscale( HANDLE hDIB1,
UINT nMethode)
Description
This function converts a monochrome device independent bitmap (DIB) to a grayscale device independent bitmap.
Parameters
|
HANDLE |
hDib1 |
Handle to a DIB to be converted. |
|
UINT |
nMethode |
Method of conversion. |
Return values
Handle to the newly created DIB. NULL on error.
Programming notes
The nMethode can be set to:
0 : No antialiasing.
1 : Antialiasing with 3x3 resampling area.
2 : Antialiasing with 5x5 resampling area.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.