L_Jp2GetBoxes

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2GetBoxes(hJp2, eBox, plBox, puNumOfBoxes)

Gets all engine boxes of the specified type.

Parameters

L_HJP2 hJp2

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

eJP2BOXTYPE eBox

Box type.

L_VOID ** plBox

Pointer to a pointer to be updated with an array of boxes of the specified type.

L_UINT * puNumOfBoxes

Address of a variable to be updated with the number of boxes found inside the engine, which is also the array size.

Returns

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

Comments

L_Jp2GetBoxes gets JPEG 2000 engines boxes that are have been loaded while loading a JPEG 2000 file or that are going to be saved within a JPEG 2000 file. You must free the allocated boxes array by calling the L_Jp2FreeBoxes.

Required DLLs and Libraries

Platforms

Win32, x64.

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

LEADTOOLS Raster Imaging C API Help