| Herd Software Development
|=
DaVinci Graphics Library
|==
DaVinci Documentation Home Search Order


Leonardo: The SaveDIBToFile function

Saves a DIB handle as a Windows .BMP format bitmap file using the specified filename.

BOOL API SaveDIBToFile (
LPCSTR szFile,
HDIB hDIB);

szFile LPCSTR Pointer to the output filename.

hDIB HDIB Handle of the DIB to be saved.

Returns

Returns TRUE if successful, otherwise FALSE. Failure will most likely be due to insufficient disk space on the specified drive.

Remarks

Processing speed is primarily dependent on disk access speed.

This function is exported by LEON3_xx.DLL, and can be used in place of ipExportInd in cases where the only required export format is .BMP.

Example: DIB write

SaveDIBToFile("Datei.bmp", hDIB);

See also:

Þ LoadDIBFromFile

Þ IpExportExt