SaveNonRGBDIBInDCXFormat

#include "BIPCX.H"

 

BOOL CALLBACK SaveNonRGBDIBInDCXFormat( LPTSTR    lpszName,
HDIB     hDIB,
int far     * lpiError)

Description

Saves the non RGB Device Independent Bitmap in DCX file as a n-th image.

Parameters

LPTSTR

lpszName

DCX file name.

HDIB

hDIB

The device independent bitmap.

int far

*lpiError;

Pointer to error code

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return values

TRUE if successful. Error code in lpnError.

Programming notes

This function saves the non rgb DIB in DCX format. Color space formats flags are declared in BiPCX.h. Available color space flags: DCX_YUV, DCX_YIQ, DCX_HSI, DCX_HSV, DCX_LAB, DCX_XYZ, DCX_CMY, DCX_RGB. The color space flag is stored in the header of the DCX image.

Requirements

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

Library :    Use BiPCX.lib.

DLLs :       BiPCX.dll.

Code example

None at present.