L_FreeBitmap

Summary

Frees storage allocated for a specified bitmap.

Syntax

#include "l_bitmap.h"

L_LTKRN_API L_VOID L_FreeBitmap(pBitmap)

Parameters

pBITMAPHANDLE pBitmap

Pointer to the bitmap handle referencing the bitmap to free.

Returns

None.

Comments

This function should be called when your program no longer needs the image data. If the bitmap was allocated in disk memory, this function deletes the temporary file. If the bitmap has a region defined, this function also frees the region.

If after calling L_FreeBitmap you want to use the same bitmap handle to load another image, use the L_InitBitmap function to reinitialize the bitmap handle.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For complete sample code, refer to the FEATURE1
example.

Help Version 22.0.2023.7.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.