L_Jp2FreeBoxes

Summary

Frees boxes that have been allocated by L_Jp2XXX functions such as: L_Jp2GetBoxes and L_Jp2ReadBox.

Syntax

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2FreeBoxes(hJp2, eBox, pBox, uNumOfBoxes)

Parameters

L_HJP2 hJp2

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

eJP2BOXTYPE eBox

The type of the boxes to be freed.

L_VOID * pBox

Pointer to an array of boxes to be freed.

L_UINT uNumOfBoxes

Number of boxes. This field specifies the size of pBoxes.

Returns

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

Comments

L_Jp2FreeBoxes frees boxes that have been allocated by any L_Jp2XXX function such as L_Jp2GetBoxes and L_Jp2ReadBox.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_Jp2ReadBox.

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.