#include "BIDIB.H"
HANDLE CALLBACK ConvertToMonochromeDIB(HANDLE hDIB,
int nIntControl)
Description
This function converts a color DIB to a device independent monochrome bitmap. It uses halftoning with the Line Art method.
Parameters
|
HANDLE |
hDIB |
Handle of the DIB. |
|
int |
nIntControl |
Intensity control can be in the range of -128 to +128. |
Return values
Handle to the newly created DIB. NULL on error.
Programming notes
This function deletes the original DIB.
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example None at present.