SaveBitmapInTGAFormat   Method

Description         Save a device dependent bitmap with palette in the TARGA file format. Does all low level function calls.

Syntax                 bRet = [BIImgFrm.]SaveBitmapInTGAFormat FileName hBm Palette Comp DispInfo

Remarks             bRet                        BOOL             TRUE on success.

                            FileName                STRING         Pointer to a null-terminated character string that names the TGA file path.

                            hBm                        LONGLONG Bitmap to be saved as TARGA image.

                            Comp                     BOOL             If this parameter is TRUE, the image will be compressed, otherwise uncompressed.

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

See Also