SaveDIBInTGAFormat

#include "BITGA.H"

 

BOOL CALLBACK SaveDIBInTGAFormat( LPTSTR    lpszFileName,
HANDLE hDIB,
BOOL       bComp,
BOOL       bDispInfo)

Description

Saves the Device Independent Bitmap in TGA file. 

Parameters

LPTSTR

lpszFileName

TGA file name.

HANDLE

hDIB

DIB to be saved as TARGA image.

BOOL

bComp

Compressed or uncompressed mode.

BOOL

bDispInfo

Setting this parameter to a “TRUE” value would display the file open dialog box for the TGA image.

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

None.

Requirements

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

Library :    Use BiTGA.lib.

DLLs :       BiTGA.dll.

Code example

None at present.