L_FreeBitmap

#include "l_bitmap.h"

L_LTKRN_API L_VOID L_FreeBitmap(pBitmap)

pBITMAPHANDLE pBitmap;

pointer to the bitmap handle

Frees storage allocated for a specified bitmap.

Parameter

Description

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

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_CreateBitmap, L_InitBitmap, L_AllocateBitmap

Topics:

Raster Image Functions: Creating and Deleting Images

Example

For complete sample code, refer to the FEATURE1 example.

Help Version 20.0.2018.2.25
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help