#include "BiDIB.h"
HDIB CALLBACK ScaleDIB( HDIB hDIB,
UINT nMethod,
XYSIZE sSize)
Description
Scaling device independent bitmap (DIB) to sSize.
Parameters
|
HDIB |
hDIB |
Handle to the DIB to be scaled. |
|
UINT |
nMethod |
Scaling method. See Programming notes. |
|
XYSIZE |
sSize |
New size in pixels. |
Return Value
HANDLE of scaled DIB or NULL on error .
Programming notes
This functions does not delete the original DIB.
The nMethod:
0 - BILINEAR bilinear interpolation
1 - CUBICSPLINE cubic spline interpolation
Requirements
Header : Declared in BiDIB.h; include BiDIB.h.
Library : Use BiDIB.lib.
DLLs : BiDIB.dll.
Code example
None at present.