L_Jp2FreeComposite

Summary

Frees and invalidates composite pointers that have been allocated by engine functions such as L_Jp2ReadComposite, L_Jp2ReadFrames, L_Jp2ReadCompositeMemory, and L_Jp2ReadFramesMemory.

Syntax

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2FreeComposite(hJp2, pComposite)

Parameters

L_HJP2 hJp2

JPEG 2000 engine handle that was created by the L_Jp2Create function.

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

L_Jp2FreeComposite frees and invalidates composite pointers that have been allocated by engine functions such as L_Jp2ReadComposite, L_Jp2ReadFrames, L_Jp2ReadCompositeMemory, and L_Jp2ReadFramesMemory. This function does not free the bitmaps inside the structures; you must free the bitmaps by using L_FreeBitmap function.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_Jp2ReadFrames.

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.