LJp2FileFormat::FreeComposite

#include "ltwrappr.h"

L_INT LJp2FileFormat::FreeComposite(pComposite)

Frees and invalidates composite pointers that have been allocated by engine functions such as:

This function does not free the bitmaps inside the structures; you must free the bitmaps by using the LBitmapBase::Free function.

Parameters

pL_JP2_JPXCOMPOSITE pComposite

Pointer to a composite structure to be freed.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

LJp2FileFormat::FreeComposite frees and invalidates composite pointers that have been allocated by engine functions such as LJp2FileFormat::ReadComposite, LJp2FileFormat::ReadFrames, LJp2FileFormat::ReadCompositeMemory, and LJp2FileFormat::ReadFramesMemory. This function does not free the bitmaps inside the structures; You must free the bitmaps by using the LBitmapBase::Free function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LJp2FileFormat::ReadFrames.

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

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