L_Jp2GetFileInfo

Summary

Gets information about the specified file and fills the specified L_JP2_FILEINFO structure with the information.

Syntax

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2GetFileInfo(hJp2, pszFile, pFileInfo)

Parameters

L_HJP2 hJp2

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

L_TCHAR * pszFile

Character string that contains the name of the JPEG 2000 file.

pL_JP2_FILEINFO pFileInfo

Pointer to the L_JP2_FILEINFO structure to be filled with the information.

Returns

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

Comments

L_Jp2GetFileInfo gets information about the specified file and fills the specified L_JP2_FILEINFO structure with the information. You must free this structure by calling the L_Jp2FreeFileInfo function. All of the engines boxes will be reset.

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.